:root {
  --sienna-hover: #A23C27;
  --bone: #E4DCCD;
  --khaki: #BAAA94;
}

header {
  background: var(--deep-space-blue);
}

hr {
  width: 100%;
}

#hero .hero-subtitle {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 20px 0 0;
  color: var(--slate-grey);
}

.tiers-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem
}

@media (min-width: 768px) {
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tiers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tier-card {
  position: relative;
  background: radial-gradient(circle at top left, #ffffff, #f1f4f8);
  border-radius: .25rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #222;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  font-weight: 400;
}

.tier-card h4 {
    font-family: 'League Spartan';
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: var(--deep-space-blue);
}

.maintenance-fee {
    font-size: .875rem;
    padding-bottom: .75rem;
    margin: auto auto 0;
    text-align: center;
    color: var(--deep-space-blue);
}

.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  color: var(--deep-space-blue);
  border: 1px solid var(--amber);
}

.tier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

.tier-card>* {
  position: relative;
  z-index: 1;
}

.tier-card ul li{
  line-height: 1.5;
  font-size: 0.875rem;
}

.tier-card ul li:not(:last-of-type){
  padding-bottom: .5rem;
}

.tier-card:hover, .tier-card.hover-active {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  color: var(--deep-space-blue);
  border: 1px solid var(--amber);
}

.tier-card.foundation:hover::before, .tier-card.core:hover::before, .tier-card.forge:hover::before, .tier-card.masterwork:hover::before, .tier-card.handlehub:hover::before, .tier-card.booked-up:hover::before, .tier-card.prep-and-serve:hover::before, .tier-card.tapped-in:hover::before,
.tier-card.foundation.hover-active::before, .tier-card.core.hover-active::before, .tier-card.forge.hover-active::before, .tier-card.masterwork.hover-active::before, .tier-card.handlehub.hover-active::before, .tier-card.booked-up.hover-active::before, .tier-card.prep-and-serve.hover-active::before, .tier-card.tapped-in.hover-active::before {
  opacity: 1;
}

.tier-card.foundation::before {
  background: linear-gradient(320deg, var(--dusk-blue), var(--soft-azure));
}

.tier-card.foundation:hover,
.tier-card.foundation.hover-active {
  border-color: var(--dusk-blue);
}

.tier-card.core::before {
  background: linear-gradient(320deg, var(--amber-hover-cta), var(--card-yellow-2));
}

.tier-card.core:hover,
.tier-card.core.hover-active {
  border-color: var(--amber-hover-cta);
}

.tier-card.forge::before {
  background: linear-gradient(320deg, var(--golden-sand), var(--amber-hover));
}

.tier-card.forge:hover,
.tier-card.forge.hover-active {
  border-color: var(--golden-sand);
}

.tier-card.masterwork::before {
  background: linear-gradient(320deg, var(--amber), var(--amber-hover));
}

.tier-card.masterwork:hover,
.tier-card.masterwork.hover-active {
  border-color: var(--amber);
}

.tier-card.handlehub::before {
  background: linear-gradient(320deg, var(--lavender), var(--lavender-hover));
}

.tier-card.handlehub:hover,
.tier-card.handlehub.hover-active {
  border-color: var(--lavender);
}

.tier-card.booked-up::before {
  background: linear-gradient(320deg, var(--soft-teal-hover), var(--lavender-hover));
}

.tier-card.booked-up:hover,
.tier-card.booked-up.hover-active {
  border-color: var(--soft-teal-hover);
}

.tier-card.prep-and-serve::before {
  background: linear-gradient(320deg, var(--golden-sand), var(--warm-beige));
}

.tier-card.prep-and-serve:hover,
.tier-card.prep-and-serve.hover-active {
  border-color: var(--golden-sand);
}

.tier-card.tapped-in::before {
  background: linear-gradient(320deg, var(--khaki), var(--bone) 80%);
}

.tier-card.tapped-in:hover,
.tier-card.tapped-in.hover-active {
  border-color: var(--sienna-hover);
}

.tier-icon,
.tier-icon img {
  height: 2.5rem;
  min-width: 2.5rem;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
}

.tier-card h3 {
  font-family: 'Oswald';
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}

.tier-card .tagline {
  font-style: italic;
  margin: .25rem auto 0 0;
  line-height: 1.4;
}

.tier-card ul {
padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    padding-top: 2rem;
    display: flex
;
    flex-direction: column;
    justify-content: flex-start;
}

.tier-card a {
  background-color: #222;
  font-family: 'Lato';
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  margin-top: .5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tier-card a:hover {
  background-color: var(--deep-space-blue);
  color: var(--amber-hover-cta);
  transform: translateY(-2px);
}

#still-wondering b.block-label {
  font-size: 1.125rem;
  background-color: var(--amber-hover);
  width: fit-content;
  padding: .25rem 1rem;
  margin-bottom: .5rem;
}

#still-wondering li {
  list-style-type: none;
  margin-bottom: 1.25rem;
}

h1 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

#hero hr {
  width: 100%;
}

#packages {
  position: relative;
}

#web-value, #results-not-looks, #packages  {
  background: linear-gradient(to top, var(--cloud-grey), var(--soft-cloud));
}

#still-wondering, #hero, #specialty-packages {
  background: linear-gradient(to bottom, var(--cloud-grey), var(--soft-cloud));
}

.checklist li {
  line-height: 1.8;
  display: list-item;
  padding-bottom: 1rem;
}

.checklist b {
  color: var(--deep-space-blue);
  display: inline;
}

.checklist .block-label {
  display: block;
}

.faq-price-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: var(--dusk-blue);
  color: #1f3249;
}

.faq-price-table thead {
  background-color: var(--muted-navy);
  color: var(--amber-hover);
}

.faq-price-table th,
.faq-price-table td {
  border: 1px solid var(--muted-steel);
  padding: 0.75rem;
  text-align: left;
  font-size: .8125rem;
  overflow-wrap: break-word;
}

.faq-price-table th {
  font-weight: 700;
  font-size: 1.0625rem;
  font-family: 'Oswald';
  letter-spacing: .3275px;
}

.faq-price-table th:not(:first-of-type) {
  text-align: center;
}

.faq-price-table tbody tr:nth-child(even) {
  background-color: var(--soft-azure);
}

.faq-price-table tbody tr:nth-child(odd) {
  background-color: var(--dusk-blue);
}

.hover-col {
  background-color: var(--card-yellow);
  transition: background-color 0.2s ease;
}


.tooltip {
  position: relative;
  cursor: help;
  display: inline;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: .25rem;
  line-height: 1.5;
}

.tooltip .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 220px;
  background-color: #1f3249;
  color: #fff;
  text-align: left;
  padding: 0.5rem;
  border-radius: 0.5rem;
  position: absolute;
  z-index: 999;
  bottom: 125%; /* above element */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s ease-in-out;
  font-size: 0.8rem;
  line-height: 1.3;
  pointer-events: none;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.badge-static {
  background: var(--amber);
  color: var(--deep-space-blue);
  font-size: 1rem;
}

@media screen and (min-width: 769px) {

  #hero {
    display: flex;
    padding: 0 20px;
  }
  

  #hero h1 {
    line-height: 1.15;
  }

  #hero .wrapper {
    flex-direction: row;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--service-card-white);
    padding: 68px 40px 20px;
  }

  #hero .wrapper .wrapper {
      max-width: 1400px;
      flex-direction: column;
      padding: 0;
  }

  #hero p,
  #hero li {
    line-height: 1.8;
    margin-bottom: .5rem;
    margin-top: .25rem;
  }

  .cta-button {
    width: fit-content;
  }

  #hero ul {
    padding-left: 20px;
    margin-top: .5rem;
    margin-bottom: .5rem;
  }

  .section-div-deep-space-blue {
    height: .5rem;
    width: 100%;
    background-color: var(--deep-space-blue);
  }

  h1 {
    line-height: 1.3;
  }

  h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
        line-height: 1.3;
  }

  .checklist {
    padding: 0;
  }

  .checklist:not(#still-wondering .checklist) {
    border-left: 4px solid var(--amber-hover);
    list-style-type: none;
    padding: 0 0 0 1rem;
  }

  #web-value h2 {
    line-height: 1;
  }

  section:not(#hero) {
    padding: 0 20px;
  }

  .ian-bubble {
    max-width: 500px;
    background-color: var(--service-card-white);
    margin-top: 0;
    margin-bottom: 0;
    padding: 68px 40px 20px;
}

p {
      line-height: 1.8;
    margin-bottom: .75rem;
    margin-top: 1rem;
}

ul {
      line-height: 1.8;
    margin-bottom: .75rem;
    margin-top: .25rem;
}

  #web-value p, #still-wondering p, #results-not-looks p, #comparison-table p {
    line-height: 1.8;
    margin-bottom: .75rem;
    margin-top: .25rem;
  }

  .wrapper{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--service-card-white);
    padding: 0 2.5rem 3rem;
  }

  #comparison-table {
    padding-top: 0 !important;
  }

  #results-not-looks {
    padding-bottom: 9rem !important;
  }

  #specialty-packages .highlight-outline {
    font-size: 1rem !important;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 6px rgba(80, 60, 100, 0.08);
  }

  .amber-underline {
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: 1rem;
    text-decoration-thickness: 4px;
  }

  .price-table {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
  }

  .subtitle {
    max-width: 800px;
  }

  .checklist li {
    max-width: 800px;
  }

  .maintenance-p {
    margin-left: auto;
    margin-right: auto;
  }

  .faq-table-wrapper {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
  }

  #comparison-table hr {
    margin-top: 2rem;
    width: 100%;
  }

}

@media screen and (max-width: 768px),
(max-width: 1200px) and (orientation: landscape) {


  #hero h1 {
    line-height: 1.1;
  }

  h2 {
    line-height: 1.3;
  }

  #hero .hero-subtitle {
    margin-top: 1rem !important;
    margin-bottom: .25rem !important;
    letter-spacing: .25px;
}

#hero .wrapper {
  padding: 0 0 3rem;
}

#hero .wrapper .wrapper {
  padding: 0 
}

.wrapper { 
  padding: 0 20px;
}

  .amber-underline {
    text-decoration: underline;
    text-decoration-color: var(--amber);
    text-underline-offset: .5rem;
    text-decoration-thickness: 4px;
  }

  #hero {
    padding: 0 20px;
  }

  #hero p,
  #hero li {
    line-height: 1.9;
  }

  #hero p {
    margin: .5rem 0;
  }

  #hero li:first-of-type {
    padding-bottom: .75rem;
  }

  #hero ul {
    padding-left: 20px;
  }

  .tiers-grid {
    padding: 2rem 1rem 3rem;
  }

  .tier-card {
    max-width: 350px;
}

.tier-card h4 {
  text-align: center;
}

.tier-icon img, .tier-card h3, .tier-icon {
  margin-left: auto;
  margin-right: auto;
}

.tier-card ul li {
  font-size: .9375rem;
  line-height: 1.5;
}
.tier-card ul {
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    padding-top: .5rem;
}

#packages .tier-card .tagline {
    font-style: italic;
    margin: .25rem auto 0 0;
}

#packages .maintenance-fee {
    font-size: .875rem;
    padding-bottom: .75rem;
    margin: auto auto 0;
    text-align: center;
    color: var(--deep-space-blue);
}

.faq-table-wrapper {
  padding: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#web-value p, #still-wondering p, #results-not-looks p, #specialty-packages p, #packages p, #comparison-table p {
  line-height: 1.8;
  margin-top: .5rem;
  margin-bottom: .75rem;
}

h2{
  margin-bottom: 0.25rem
}



#specialty-packages .highlight-outline {
  font-size: 1rem !important;
  margin-bottom: 3rem;
}

.checklist {
  margin: 2rem 0 3rem;
  padding: 0;
}

.checklist:not(#still-wondering .checklist) {
  border-left: 4px solid var(--amber-hover);
  list-style-type: none;
  padding: 0 0 0 1rem;
}

.checklist li {
  padding-bottom: 1.5rem;
  line-height: 1.8;
}

.checklist li:last-of-type {
  padding-bottom: 0;
}

#results-not-looks {
  padding-bottom: 6rem;
}

#comparison-table hr {
  width: 100%;
  height: 1px;
  border: none;
  background-color: var(--muted-charcoal);
  margin-top: 1rem;
  margin-bottom: 0;
}

.faq-price-table {
  min-width: 1400px;
}

section:not(.package-hero-layout):not(.package-hero) {
  background: var(--service-card-white) !important;
  padding-top: 3rem;
}

.package-hero, .package-hero-layout {
  background: var(--service-card-white) !important;
}

ul {
  margin-top: .5rem;
  margin-bottom: .5rem;
}

#hero.website-hero .wrapper:not(#hero.website-hero .wrapper .wrapper) {
  padding: 0;
}

#hero.website-hero .ian-bubble {
  margin-top: 3rem;
}

}

@media screen and (min-width: 769px) and (max-width: 1200px) {


  #hero .wrapper .wrapper {
    padding: 0 40px
  }  
  
  .wrapper:not(#hero .wrapper){
    padding: 0 40px;
  }

}