:root {
  --page-width: 1600px;
  --space: 40px;
  --quarter-space: calc(var(--space) * 0.25);
  --half-space: calc(var(--space) * 0.5);
  --double-space: calc(var(--space) * 2);
  --triple-space: calc(var(--space) * 3);
  --xl-space: calc(var(--space) * 4);
  --facet-size: 50px;
}

@media screen and (max-width: 915px) {
    :root {
        --space: 16px;
        --facet-size: 25px;
    }
}

body {
    margin: 0;
}

body.mobile-menu-open {
  overflow: hidden;
  position: relative;
  height: 100vh;
  width: 100vw;
}

main {
    display: flex;
    flex-direction: column;
}

.color-scheme--darkest {
    --color-bg: #1B2941;
    --color-headings: #F2EADB;
    --color-body: #FFFFFF;
    --color-accent: #60949F;
    background-color: var(--color-bg);
}

.color-scheme--lightest {
    --color-bg: #FFFFFF;
    --color-headings: #1B2941;
    --color-body: #1B2941;
    --color-accent: #F2EADB;
    background-color: var(--color-bg);
}

.color-scheme--light {
    --color-bg: #F2EADB;
    --color-headings: #1B2941;
    --color-body: #1B2941;
    --color-accent: #60949F;
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-headings);
    font-family: Roboto Condensed;
  font-weight: 600;
  text-transform: uppercase;
   word-wrap: normal;
   margin: 0;
}

h1, .h1 {
    font-size: 32px;
}

h2 {
    font-size: 22px;
}

.color-scheme--darkest h1 {
    color: white;
}



p {
    color: var(--color-body);
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.primary-button {
    padding: 12px 24px;
    border: none;
    font-size: 18px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  word-wrap: normal;
  width: fit-content;
}

.primary-button {
    background: var(--color-headings);
    color: var(--color-bg);
    transition: 0.4s ease;
}

.primary-button:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transition: 0.4s ease;
}

.primary-button svg path {
  fill: var(--color-bg);
  transition: 0.4s ease;
}

.primary-button:hover svg path {
  fill: var(--color-bg);
  transition: 0.4s ease;
}

section.page-width {
    margin-left: var(--space);
  margin-right: var(--space);
  position: relative;
}

section.page-width.add-bottom-space {
  margin-bottom: var(--space);
}

section.page-width.add-top-space {
    margin-top: var(--space);
}

section > .content-wrapper {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space);
  padding-right: var(--space);
  position: relative;
  z-index: 1;
}


.add-facets::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: var(--facet-size);
  height: var(--facet-size);
  background: linear-gradient(135deg, white 50%, transparent 50%);
  z-index: 2;
}

.add-facets::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--facet-size);
  height: var(--facet-size);
  background: linear-gradient(135deg, transparent 50%, white 50%);
  z-index: 2;
}

.content-wrapper {
    display: flex;
  flex-direction: column;
  gap: var(--space);
}

.content-wrapper.medium-height {
  min-height: 500px;
  padding: var(--space)
}

@media screen and (max-width: 915px) {
    .content-wrapper.medium-height {
        min-height: 400px;
        padding-top: var(--triple-space);
  padding-bottom: var(--triple-space);
    }
}

.content-position--center-center {
  justify-content: center;
  align-items: center;
}

.content-position--center-center * {
    text-align: center;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color:var(--color-bg);
}

.background-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: translate(-50%, -50%);
}

.background-image.overlay img {
  opacity: 0.55;
}

.relative {
  position: relative;
}


/**********************************************
*
* Multicolumn Section
*
**********************************************/
.content-multicolumn {
    padding: var(--space);
    display: flex;
    gap:var(--space);
    align-items: center;
}


/* Custom styles for multicolumn variations */
.content-multicolumn .c-allchalk-benefits {
    max-width: 123px;
}

.multicolumn-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: var(--half-space);
    flex-grow: 1;
    width: 100%;
}

@media screen and (max-width: 915px) {
    .content-multicolumn {
        flex-direction: column;
        align-items: center;
    }

    .multicolumn-items {
        grid-template-columns: 1fr;
    }
}

.multicol-item {
        display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.multicol-item-content {
    background-color: var(--color-accent);
    margin-top: -2px;
    margin-bottom: -2px;
    padding: var(--half-space) var(--space);
    gap: var(--half-space);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media screen and (max-width: 915px) {
    .multicol-item-content {
        padding-bottom: var(--space);
        padding-top: var(--space);
    }
}

.multicol-item-content > img {
    max-width: 42px;
    margin: 0 auto;
}

.multicol-item-content * {
    text-align: center;
}

.multicol-item > img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 915px) {
    .content-multicolumn .c-allchalk-benefits {
        max-width: 227px;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    } 
}

/**********************************************
*
* Split Content Section
*
**********************************************/
section .split-content {
    display: grid;
}

@media screen and (min-width: 750px) {
    section .split-content {
        grid-template-columns: 1fr 1fr;
    }
}

section .split-content .content-wrapper {
    padding: var(--triple-space) var(--space);
    max-width: 636px;
    margin: 0 auto;
}

.icon-with-text-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.icon-with-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
      gap: var(--half-space);
    padding-top: var(--half-space);
    padding-bottom: var(--half-space);
    max-width: 175px;
    margin: 0 auto;
}

section .split-content .c-max-width-340 {
max-width: 340px;
}

@media screen and (max-width: 915px) {
    section .split-content .split-content--image {
        order: -1;
        min-height: 20rem;;
    }

    section .split-content .content-wrapper {
        padding: var(--triple-space) var(--double-space);
    }

    .icon-with-text-columns {
        grid-template-columns: 1fr;
        gap: var(--space);
        max-width: 175px;
        padding-top: var(--space);
        padding-bottom: var(--space);
    }
}

/**********************************************
*
* Main Navigation Styles
*
**********************************************/
.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--space);
  background: var(--color-bg, #fff);
  position: sticky;
  top: 0;
  z-index: 100; /* Lower than overlay */
}
.nav-section {
  display: flex;
  align-items: center;
}
.nav-link,
.mobile-menu .nav-link {
  margin-right: var(--half-space);
  color: var(--color-headings, #222);
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-transform: uppercase
}

.nav-left .nav-link:last-child {
  margin-right: 0;
}
.nav-link:hover {
  /* Remove color change on hover */
  color: var(--color-headings, #222);
}
.nav-logo img {
  display: block;
  height: 40px;
}
.nav-right {
  gap: var(--half-space);
  justify-content: flex-end;
  display: flex;
  align-items: center;
}
.nav-right .nav-link, .mobile-nav-actions .nav-link {
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 16px;
  margin-right: 12px;
}

.mobile-nav-actions .mobile-socials {
    display: flex;
    gap: var(--space);
    width: 100%;
}

.mobile-nav-actions {
    display: flex;
    row-gap: var(--triple-space);
    flex-wrap: wrap;
    margin-top: var(--double-space);
    column-gap: var(--space);
}

.nav-right .nav-link:last-child {
  margin-right: 0;
}
.nav-social img {
  display: block;
  height: 18px;
  width: 18px;
}
.nav-socials-flex {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: var(--half-space);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-headings, #222);
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: calc(100% - var(--double-space)); /* Full width */
  max-width: none; /* Remove max-width */
  background: var(--color-bg, #fff);
  box-shadow: 2px 0 16px rgba(0,0,0,0.12);
  padding: var(--double-space) var(--double-space) var(--double-space) var(--double-space);
  z-index: 2000; /* Ensure mobile menu overlays hamburger icon */
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Remove overlay */
body.mobile-menu-open::after {
  display: none !important;
}

/* Close button styles */
.mobile-menu .close-mobile-menu {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-headings, #222);
  cursor: pointer;
  z-index: 1101;
  line-height: 1;
  padding: 0;
}

@media (max-width: 915px) {
  .mobile-menu {
    width: auto;
    max-width: none;
    left: 0;
    right: 0;
  }
}

.mobile-nav-links {
    display: grid;
    gap: var(--half-space);
    margin-bottom: var(--space);
}

 .mobile-nav-links .nav-link {
    font-size: 200%;
 }

.mobile-menu.open {
  transform: translateX(0);
}

/* Overlay for mobile menu (optional, for dimming background) */
body.mobile-menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  z-index: 9999; /* Overlay above nav bar */
}

.nav-left .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-left .button-arrows {
  width: 11px;
  height: 13px;
  margin-left: 2px;
  vertical-align: middle;
}

.nav-left .button-arrows path {
  fill: var(--color-headings, #222);
  transition: fill 0.4s;
}

.nav-left .nav-link:hover .button-arrows path {
  fill: var(--color-headings, #222);
}

.nav-left .button-arrows {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-left .nav-link:hover .button-arrows,
.nav-left .nav-link:focus .button-arrows {
  opacity: 1;
}

.nav-left .nav-link.active .button-arrows {
  opacity: 1;
}

@media (max-width: 900px) {
  .main-nav {
    padding: 0 var(--half-space);
  }
  .nav-left, .nav-right {
    flex: 1;
  }
  .nav-center {
    flex: 0 0 auto;
    justify-content: center;
    display: flex;
  }
}
@media (max-width: 915px) {
  .main-nav {
    height: 56px;
  }
  .nav-left, .nav-right {
    display: none;
  }
  .nav-center {
    flex: 1;
    justify-content: center;
  }
  .nav-logo img {
    max-width: 165px;
    height: auto;
  }
  .hamburger {
    display: flex;
    position: absolute;
    right: var(--half-space);
    top: 8px;
    z-index: 1000; /* Lower than .mobile-menu */
  }
  .mobile-menu {
    display: flex;
  }
}

/* Pricing Table Styles */
.pricing-container {
    display: flex;
    gap: var(--double-space);
    justify-content: center;
    align-items: stretch;
}

.pricing-container .price-info {
    max-width: 250px;
    min-width: 0;
    padding: var(--half-space);
    display: flex;
    flex-direction: column;
    gap: var(--quarter-space);
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    align-items: center;
    text-align: center;
}

.gradient-divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gradient-divider-line span {
    width: 3px;
    min-width: 3px;
    height: 100%;
    min-height: 80px;
    display: block;
    background: linear-gradient(0deg, rgba(242, 234, 219, 0) 6%, #F2EADB 50%, rgba(242, 234, 219, 0) 94%);
}

@media (max-width: 900px) {
  .pricing-container {
    gap: var(--space);
  }
}

@media (max-width: 915px) {
  .pricing-container {
    flex-direction: column;
    gap: var(--space);
    align-items: center;
  }
  .gradient-divider-line {
    width: 100%;
    justify-content: center;
    margin: 16px 0;
  }
  .gradient-divider-line span {
    width: 80px;
    min-width: 80px;
    height: 3px;
    min-height: 3px;
    background: linear-gradient(90deg, rgba(242, 234, 219, 0) 6%, #F2EADB 50%, rgba(242, 234, 219, 0) 94%);
  }
  .pricing-container .price-info {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    padding: var(--half-space) 0;
    border-radius: 10px;
  }
}

.background-image.overlay.pricing-section img {
    opacity: 0.25;
}