:root {
  --habitao-red: #ea2e2b;
  --habitao-red-rgb: 234, 46, 43;
  --habitao-red-depth: #a91114;
  --habitao-red-accessible-light: #c5161a;
  --habitao-gray: #535960;
  --habitao-gray-rgb: 83, 89, 96;
  --habitao-gray-depth: #2f3338;
  --habitao-earth: #904a32;
  --habitao-earth-depth: #623222;
  --habitao-orange: #f4a216;
  --habitao-light-surface: #f8fafc;
  --habitao-light-border: #e5e7eb;
  --habitao-dark-bg: #0f172a;
  --habitao-dark-surface: #111827;
  --bs-primary: #ea2e2b;
  --bs-primary-rgb: 234, 46, 43;
  --bs-secondary: #535960;
  --bs-secondary-rgb: 83, 89, 96;
  --bs-link-color: #c5161a;
  --bs-link-hover-color: #a91114;
  --bs-focus-ring-color: rgba(234, 46, 43, 0.25);
}

html {
  scroll-padding-top: 5.5rem;
}

body.habitao-site {
  --habitao-page-bg-image: none;
  --habitao-page-bg-current: var(--habitao-page-bg-image);
  --habitao-page-bg-next: var(--habitao-page-bg-image);
  --habitao-page-bg-transition-duration: 1.2s;
  --habitao-header-control-height: 2.35rem;
  --habitao-header-gap: 0.5rem;
  --habitao-header-pad: 0.35rem;
  --habitao-page-surface-rgb: 255, 255, 255;
  --habitao-page-text: #212529;
  --habitao-page-heading: #172033;
  --habitao-page-muted: #4b5563;
  --habitao-header-bg: rgba(255, 255, 255, 0.88);
  --habitao-header-border: rgba(229, 231, 235, 0.88);
  --habitao-header-shadow: rgba(15, 23, 42, 0.1);
  --habitao-header-link: #374151;
  --habitao-logo-card-bg: #ffffff;
  --habitao-action-bg: #ffffff;
  --habitao-action-border: #d1d5db;
  --habitao-header-menu-bg: #ffffff;
  --habitao-header-menu-border: #cbd5e1;
  --habitao-header-toolbar-action-bg: #f1f5f9;
  --habitao-header-toolbar-action-border: #64748b;
  --habitao-header-interactive-accent: var(--habitao-page-accent);
  --habitao-info-panel-bg: #ffffff;
  --habitao-hero-bg-fade-start: 26%;
  --habitao-hero-bg-midpoint: 48%;
  --habitao-hero-bg-clear-start: 82%;
  --habitao-hero-bg-overlay: linear-gradient(
    90deg,
    rgba(var(--habitao-page-surface-rgb), 0.98) 0%,
    rgba(var(--habitao-page-surface-rgb), 0.92) var(--habitao-hero-bg-fade-start),
    rgba(var(--habitao-page-surface-rgb), 0.48) var(--habitao-hero-bg-midpoint),
    rgba(var(--habitao-page-surface-rgb), 0) var(--habitao-hero-bg-clear-start)
  );
  color: #212529;
  background: #ffffff;
}

html[data-habitao-theme-preset='dark'] body.habitao-site {
  --habitao-page-surface-rgb: 15, 23, 42;
  --habitao-page-text: #cbd5e1;
  --habitao-page-heading: #dbe4f0;
  --habitao-page-muted: #9eabba;
  --habitao-header-bg: rgba(17, 24, 39, 0.9);
  --habitao-header-border: rgba(71, 85, 105, 0.82);
  --habitao-header-shadow: rgba(2, 6, 23, 0.42);
  --habitao-header-link: #cbd5e1;
  --habitao-logo-card-bg: rgba(246, 239, 234, 0.9);
  --habitao-action-bg: rgba(17, 24, 39, 0.92);
  --habitao-action-border: rgba(148, 163, 184, 0.46);
  --habitao-header-menu-bg: #172033;
  --habitao-header-menu-border: #475569;
  --habitao-header-toolbar-action-bg: #1f2937;
  --habitao-header-toolbar-action-border: #94a3b8;
  --habitao-info-panel-bg: #111827;
  color: var(--habitao-page-text);
  background: var(--habitao-dark-bg);
}

body.habitao-page-context-yourturn {
  --habitao-page-accent: var(--habitao-earth);
  --habitao-page-accent-rgb: 144, 74, 50;
  --habitao-page-accent-depth: var(--habitao-earth-depth);
  --habitao-header-link: #553426;
  --habitao-header-toolbar-action-bg: #f6ede8;
  --habitao-header-toolbar-action-border: var(--habitao-earth);
  --habitao-auth-bg-image: url('../img/brand/yourturn-icon.svg');
}

body.habitao-page-context-ask360 {
  --habitao-page-accent: #2f6f9f;
  --habitao-page-accent-rgb: 47, 111, 159;
}

html[data-habitao-theme-preset='dark'] body.habitao-page-context-yourturn {
  --habitao-page-accent: #c78362;
  --habitao-page-accent-rgb: 199, 131, 98;
  --habitao-page-accent-depth: #a96142;
  --habitao-header-link: #f3e5df;
  --habitao-header-toolbar-action-bg: #2b2424;
  --habitao-header-toolbar-action-border: #c78362;
}

body.habitao-page-context-habitao,
body.habitao-page-context-default {
  --habitao-page-accent: var(--habitao-red-accessible-light);
  --habitao-page-accent-rgb: 197, 22, 26;
  --habitao-page-accent-depth: var(--habitao-red-depth);
  --habitao-auth-bg-image: url('../img/brand/habitao-symbol.svg');
}

html[data-habitao-theme-preset='dark'] body.habitao-page-context-habitao,
html[data-habitao-theme-preset='dark'] body.habitao-page-context-default {
  --habitao-header-interactive-accent: #ff7770;
}

html body.login.habitao-auth-surface {
  --habitao-auth-overlay-start: 0.98;
  --habitao-auth-overlay-mid: 0.94;
  --habitao-auth-overlay-end: 0.72;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--habitao-page-text);
  background:
    radial-gradient(
      circle at calc(100% + clamp(6rem, 15vw, 14rem)) 52%,
      rgba(var(--habitao-page-accent-rgb), 0.2) 0,
      rgba(var(--habitao-page-accent-rgb), 0.13) clamp(8rem, 22vw, 18rem),
      rgba(var(--habitao-page-accent-rgb), 0) clamp(18rem, 42vw, 34rem)
    ),
    linear-gradient(
      90deg,
      rgba(var(--habitao-page-surface-rgb), var(--habitao-auth-overlay-start)) 0%,
      rgba(var(--habitao-page-surface-rgb), var(--habitao-auth-overlay-mid)) 42%,
      rgba(var(--habitao-page-surface-rgb), var(--habitao-auth-overlay-end)) 100%
    ),
    var(--habitao-auth-bg-image) calc(100% + clamp(5rem, 12vw, 11rem)) 52% / min(72vw, 43rem) auto no-repeat,
    rgb(var(--habitao-page-surface-rgb));
}

html[data-habitao-theme-preset='dark'] body.login.habitao-auth-surface {
  --habitao-auth-overlay-mid: 0.92;
  --habitao-auth-overlay-end: 0.68;
}

body.login.habitao-auth-surface #login {
  width: min(100%, 24rem);
  padding: 0;
}

body.login.habitao-auth-surface h1 {
  margin-bottom: 1rem;
}

body.login.habitao-auth-surface h1 a {
  width: min(15rem, 74vw);
  height: 3.1rem;
  margin: 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  outline-color: var(--habitao-page-accent);
}

body.login.habitao-auth-surface.habitao-page-context-habitao h1 a,
body.login.habitao-auth-surface.habitao-page-context-default h1 a {
  overflow: hidden;
  color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  background-image: url('../img/brand/habitao-logo-horizontal.svg');
}

body.login.habitao-auth-surface.habitao-page-context-yourturn h1 a {
  display: inline-flex;
  width: auto;
  max-width: min(18rem, 82vw);
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  color: var(--habitao-page-accent);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1;
  text-indent: 0;
  text-decoration: none;
  text-transform: none;
  background-image: none;
}

body.login.habitao-auth-surface.habitao-page-context-yourturn h1 a::before {
  display: block;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  background: url('../img/brand/yourturn-icon.svg') center / contain no-repeat;
  content: '';
}

body.login.habitao-auth-surface form {
  margin: 0;
  padding: 1.5rem;
  color: var(--habitao-page-text);
  background: rgba(var(--habitao-page-surface-rgb), 0.94);
  border: 1px solid var(--habitao-header-border);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

body.login.habitao-auth-surface label,
body.login.habitao-auth-surface .forgetmenot label {
  color: var(--habitao-page-heading);
  font-weight: 700;
}

body.login.habitao-auth-surface .input,
body.login.habitao-auth-surface input[type='text'],
body.login.habitao-auth-surface input[type='password'],
body.login.habitao-auth-surface input[type='email'] {
  min-height: 2.85rem;
  color: var(--habitao-page-text);
  background: var(--habitao-action-bg);
  border: 1px solid var(--habitao-action-border);
  border-radius: 0.5rem;
  box-shadow: none;
}

body.login.habitao-auth-surface .input:focus,
body.login.habitao-auth-surface input[type='text']:focus,
body.login.habitao-auth-surface input[type='password']:focus,
body.login.habitao-auth-surface input[type='email']:focus {
  border-color: var(--habitao-page-accent);
  box-shadow: 0 0 0 0.22rem rgba(var(--habitao-page-accent-rgb), 0.18);
}

body.login.habitao-auth-surface .button-primary {
  min-height: 2.65rem;
  padding: 0.35rem 1rem;
  color: #ffffff;
  font-weight: 700;
  background: var(--habitao-page-accent);
  border-color: var(--habitao-page-accent);
  border-radius: 0.5rem;
  box-shadow: none;
}

body.login.habitao-auth-surface .button-primary:hover,
body.login.habitao-auth-surface .button-primary:focus {
  color: #ffffff;
  background: var(--habitao-page-accent-depth);
  border-color: var(--habitao-page-accent-depth);
}

body.login.habitao-auth-surface #nav,
body.login.habitao-auth-surface #backtoblog {
  margin: 0.9rem 0 0;
  padding: 0;
  text-align: center;
}

body.login.habitao-auth-surface #nav a,
body.login.habitao-auth-surface #backtoblog a,
body.login.habitao-auth-surface .privacy-policy-page-link a {
  color: var(--habitao-header-link);
  font-weight: 700;
}

body.login.habitao-auth-surface #nav a:hover,
body.login.habitao-auth-surface #nav a:focus,
body.login.habitao-auth-surface #backtoblog a:hover,
body.login.habitao-auth-surface #backtoblog a:focus,
body.login.habitao-auth-surface .privacy-policy-page-link a:hover,
body.login.habitao-auth-surface .privacy-policy-page-link a:focus {
  color: var(--habitao-page-accent);
}

body.login.habitao-auth-surface .message,
body.login.habitao-auth-surface .notice,
body.login.habitao-auth-surface #login_error {
  margin-right: 0;
  margin-left: 0;
  color: var(--habitao-page-text);
  background: rgba(var(--habitao-page-surface-rgb), 0.94);
  border-color: var(--habitao-page-accent);
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.1);
}

body.login.habitao-auth-surface #login_error {
  border-color: var(--habitao-red-accessible-light);
}

.habitao-skip-link {
  position: absolute;
  z-index: 1100;
  margin: 0.75rem;
  padding: 0.625rem 0.875rem;
  color: #ffffff;
  background: var(--habitao-gray-depth);
  border-radius: 0.375rem;
}

.habitao-header {
  position: fixed;
  top: 0.75rem;
  left: clamp(0.75rem, 2vw, 2rem);
  z-index: 1030;
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  background: var(--habitao-header-bg);
  border: 1px solid var(--habitao-header-border);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem var(--habitao-header-shadow);
  backdrop-filter: blur(18px);
}

.habitao-header .navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: var(--habitao-header-link);
  --bs-navbar-hover-color: var(--habitao-page-accent);
  --bs-navbar-active-color: var(--habitao-page-accent);
  --bs-navbar-toggler-padding-y: 0.35rem;
  --bs-navbar-toggler-padding-x: 0.55rem;
  flex-wrap: nowrap;
}

.habitao-brand {
  display: inline-flex;
  align-items: center;
  max-width: min(48vw, 14rem);
  margin-right: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.habitao-header--logo-only {
  width: max-content;
}

.habitao-header--logo-only .navbar {
  --bs-navbar-padding-y: 0;
}

.habitao-header--logo-only .container-fluid {
  padding: var(--habitao-header-pad);
}

.habitao-header--logo-only .habitao-brand {
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.habitao-header .container-fluid {
  gap: var(--habitao-header-gap);
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  align-items: center;
  justify-content: flex-start;
  padding: var(--habitao-header-pad);
  flex-wrap: nowrap;
}

.habitao-logo-safe-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: var(--habitao-header-control-height);
  padding: 0.25rem 0.45rem;
  overflow: hidden;
  background: var(--habitao-logo-card-bg);
  border: 0;
  border-radius: 0.5rem;
}

.habitao-logo-safe-card--yourturn {
  gap: 0.42rem;
  justify-content: flex-start;
}

.habitao-logo-image {
  display: block;
  width: auto;
  max-width: min(12.5rem, 46vw);
  height: 2rem;
  object-fit: contain;
}

.habitao-logo-image--icon {
  display: none;
  width: 2rem;
  max-width: 2rem;
}

.habitao-logo-image--yourturn-icon {
  width: 1.8rem;
  max-width: 1.8rem;
  height: 1.8rem;
}

.habitao-main {
  min-height: 70vh;
}

.habitao-hero {
  --habitao-hero-content-max-inline: min(44rem, 52vw);
  box-sizing: border-box;
  display: flex;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: 6rem 0 2.5rem;
  background: rgb(var(--habitao-page-surface-rgb));
}

.habitao-hero::before,
.habitao-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: '';
  background:
    var(--habitao-hero-bg-overlay),
    var(--habitao-page-bg-current) right center / cover no-repeat,
    rgb(var(--habitao-page-surface-rgb));
}

.habitao-hero::after {
  z-index: 1;
  background:
    var(--habitao-hero-bg-overlay),
    var(--habitao-page-bg-next) right center / cover no-repeat,
    rgb(var(--habitao-page-surface-rgb));
  opacity: 0;
  transition: opacity var(--habitao-page-bg-transition-duration) ease-in-out;
}

body.habitao-background-transitioning .habitao-hero::after {
  opacity: 1;
}

.habitao-hero > .container {
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .habitao-hero > .container {
    width: min(calc(100vw - 1.5rem), 1320px);
    margin-right: auto;
    margin-left: max(0.75rem, calc((100vw - min(calc(100vw - 1.5rem), 1320px)) * 0.325));
  }
}

@media (max-width: 900px) {
  .habitao-hero {
    --habitao-hero-bg-fade-start: 34%;
    --habitao-hero-bg-midpoint: 62%;
    --habitao-hero-bg-clear-start: 91%;
  }
}

.habitao-hero__content {
  max-width: var(--habitao-hero-content-max-inline);
}

.habitao-hero h1,
.habitao-hero__lead,
.habitao-section__header p,
.habitao-section__header li,
.habitao-info-panel p {
  text-wrap: pretty;
}

.habitao-section__header h2,
.habitao-info-panel h2 {
  text-wrap: balance;
}

.habitao-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--habitao-page-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.habitao-brand-name {
  color: var(--habitao-page-accent);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.habitao-header-brand-name,
.habitao-header-action-brand-name {
  margin-bottom: 0;
}

.habitao-header-brand-name {
  font-size: 1.16rem;
}

.habitao-header-action-brand-name {
  font-size: 0.98rem;
}

.habitao-hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  color: var(--habitao-page-heading);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.habitao-hero__lead {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--habitao-page-muted);
  font-size: 1.2rem;
}

.habitao-hero__actions,
.habitao-shortcode-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.habitao-shortcode-action a {
  display: inline-flex;
  gap: 0.5rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  color: var(--habitao-header-link);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: var(--habitao-action-bg);
  border: 1px solid var(--habitao-action-border);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.2rem rgba(15, 23, 42, 0.08);
}

.yourturn__trigger-icon {
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.yourturn__trigger-icon--dashboard {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h8v6H3V4Zm10 0h8v4h-8V4Zm0 6h8v10h-8V10ZM3 12h8v8H3v-8Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h8v6H3V4Zm10 0h8v4h-8V4Zm0 6h8v10h-8V10ZM3 12h8v8H3v-8Z'/%3E%3C/svg%3E");
}

.yourturn__trigger-icon--presentation {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16v10H4V4Zm7 11h2v2h4v2H7v-2h4v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h16v10H4V4Zm7 11h2v2h4v2H7v-2h4v-2Z'/%3E%3C/svg%3E");
}

.yourturn__trigger-label {
  min-width: 0;
  line-height: 1.2;
}

#habitaoPrimaryNav a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: var(--habitao-header-control-height);
  color: var(--habitao-header-link);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

#habitaoPrimaryNav .habitao-header-button-group {
  display: contents;
}

#habitaoPrimaryNav .habitao-header-button-group .nav-item {
  display: inline-flex;
  align-self: center;
  align-items: center;
}

#habitaoPrimaryNav > .navbar-nav a,
#habitaoPrimaryNav .yourturn__dashboard-trigger,
.habitao-header-control,
.habitao-options-settings__toggle {
  position: relative;
  display: inline-flex;
  gap: 0.5rem;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.45rem 0.75rem;
  color: var(--habitao-header-link);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    box-shadow 120ms ease;
}

#habitaoPrimaryNav > .navbar-nav a:hover,
#habitaoPrimaryNav > .navbar-nav a:focus,
.habitao-header-control:hover,
.habitao-header-control:focus {
  color: var(--habitao-header-interactive-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.1);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

#habitaoPrimaryNav > .navbar-nav a:focus-visible,
.habitao-header-control:focus-visible {
  outline: 0;
  box-shadow: none;
}

#habitaoPrimaryNav > .navbar-nav a:focus-visible::before,
.habitao-header-control:focus-visible::before {
  position: absolute;
  right: 0.45rem;
  bottom: 0.2rem;
  left: 0.45rem;
  height: 0.1875rem;
  background: var(--habitao-header-interactive-accent);
  border-radius: 999px;
  content: '';
}

#habitaoPrimaryNav > .navbar-nav a:active,
.habitao-header-control:active,
.habitao-options-settings.show > .habitao-options-settings__toggle {
  color: var(--habitao-header-interactive-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.16);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.habitao-header-control:hover .habitao-brand-name,
.habitao-header-control:focus .habitao-brand-name {
  color: inherit;
}

.habitao-shortcode-action--primary a,
.btn-habitao-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--habitao-page-accent);
  --bs-btn-border-color: var(--habitao-page-accent);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--habitao-page-accent-depth);
  --bs-btn-hover-border-color: var(--habitao-page-accent-depth);
  --bs-btn-focus-shadow-rgb: var(--habitao-red-rgb);
  color: #ffffff;
  background: var(--habitao-page-accent);
  border-color: var(--habitao-page-accent);
}

.habitao-shortcode-action--primary a:hover,
.habitao-shortcode-action--primary a:focus,
.btn-habitao-primary:hover,
.btn-habitao-primary:focus {
  color: #ffffff;
  background: var(--habitao-page-accent-depth);
  border-color: var(--habitao-page-accent-depth);
}

.habitao-hero__panel,
.habitao-info-panel {
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.12);
}

.habitao-hero__panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #e5e7eb;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.98)), var(--habitao-dark-surface);
  border-color: rgba(51, 65, 85, 0.9);
}

.habitao-hero__panel-header,
.habitao-hero__metric {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.habitao-hero__panel-header {
  margin-bottom: 2rem;
  color: #ffffff;
  font-weight: 700;
}

.habitao-hero__metric {
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.habitao-hero__metric span {
  color: #9ca3af;
}

.habitao-hero__metric strong {
  color: #ffffff;
}

.habitao-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.habitao-main > .habitao-section:first-child {
  padding-top: clamp(7rem, 12vw, 9rem);
}

.habitao-section--app {
  padding-top: 2rem;
  background: var(--habitao-light-surface);
}

html[data-habitao-theme-preset='dark'] .habitao-section--app {
  background: #0b1220;
}

.habitao-section__header {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.habitao-section__header h2,
.habitao-info-panel h2 {
  color: var(--habitao-page-heading);
  font-weight: 800;
  letter-spacing: 0;
}

.habitao-section__header p,
.habitao-section__header li,
.habitao-info-panel p {
  color: var(--habitao-page-muted);
  font-size: 1.05rem;
}

.habitao-section__header ul {
  padding-left: 1.2rem;
}

.habitao-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.habitao-service-card {
  display: grid;
  gap: 0.6rem;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(var(--habitao-page-accent-rgb), 0.16);
  border-radius: 0.5rem;
  background: rgba(var(--habitao-page-surface-rgb), 0.72);
  box-shadow: 0 0.65rem 1.4rem rgba(15, 23, 42, 0.08);
}

.habitao-service-card h3,
.habitao-service-card p {
  margin: 0;
}

.habitao-service-card h3 {
  color: var(--habitao-page-heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.habitao-service-card p {
  color: var(--habitao-page-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.habitao-cms-shortcode-surface {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.habitao-app-mount__placeholder {
  display: grid;
  min-height: 15rem;
  place-content: center;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
}

.habitao-info-panel {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--habitao-info-panel-bg);
}

.habitao-info-panel--muted {
  background: var(--habitao-light-surface);
}

html[data-habitao-theme-preset='dark'] .habitao-info-panel--muted {
  background: #0b1220;
}

#habitaoPrimaryNav.habitao-header-actions {
  display: inline-flex;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  padding-left: 0;
  background: var(--habitao-header-toolbar-action-bg);
  border: 1px solid var(--habitao-header-toolbar-action-border);
  border-radius: 0.5rem;
}

.habitao-header-actions .navbar-nav {
  display: contents;
  margin-left: 0 !important;
}

.habitao-header-actions .navbar-nav > li + li,
.habitao-header-actions:has(> .navbar-nav > li:not([hidden])) > .habitao-options-settings {
  border-left: 1px solid var(--habitao-header-toolbar-action-border);
}

#habitaoPrimaryNav > .navbar-nav > li:first-child > a {
  border-radius: 0.42rem 0 0 0.42rem;
}

#habitaoPrimaryNav > .habitao-options-settings > .habitao-options-settings__toggle {
  border: 0 !important;
  border-radius: 0 0.42rem 0.42rem 0;
}

#habitaoPrimaryNav.habitao-header-actions:not(:has(> .navbar-nav > li:not([hidden])))
  > .habitao-options-settings
  > .habitao-options-settings__toggle {
  border-radius: 0.42rem;
}

.habitao-options-settings {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.habitao-options-settings__toggle {
  min-width: 7.75rem;
  justify-content: center;
  flex-wrap: nowrap;
}

.habitao-options-settings__toggle::after {
  display: none !important;
}

.habitao-options-caret {
  display: block;
  width: 0;
  height: 0;
  margin-left: -0.2rem;
  flex: 0 0 auto;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

.btn.habitao-options-settings__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--habitao-header-link);
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.btn.habitao-options-settings__toggle:hover,
.btn.habitao-options-settings__toggle:focus {
  color: var(--habitao-header-interactive-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.1);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.habitao-options-settings__toggle[aria-expanded='true'] {
  color: var(--habitao-header-interactive-accent) !important;
  background: rgba(var(--habitao-page-accent-rgb), 0.16) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none;
}

.habitao-options-settings__toggle > .habitao-control-icon--options {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E");
}

.habitao-options-settings__menu {
  --bs-dropdown-min-width: 0;
  --bs-dropdown-padding-x: 0.5rem;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-color: var(--habitao-header-link);
  --bs-dropdown-bg: var(--habitao-header-menu-bg);
  --bs-dropdown-border-color: var(--habitao-header-menu-border);
  --bs-dropdown-link-color: var(--habitao-header-link);
  --bs-dropdown-link-hover-color: var(--habitao-page-accent);
  --bs-dropdown-link-hover-bg: rgba(var(--habitao-page-surface-rgb), 0.12);
  margin-top: 0.45rem !important;
  width: max-content;
  min-width: var(--bs-dropdown-min-width);
  max-width: calc(100vw - 1rem);
  /* Reserve the fixed header and a lower viewport gutter, including landscape. */
  max-height: calc(100vh - 5rem);
  max-height: calc(100dvh - 5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  grid-auto-rows: max-content;
  color: var(--habitao-header-link);
  background: var(--habitao-header-menu-bg);
  background-color: var(--habitao-header-menu-bg);
  border: 1px solid var(--habitao-header-menu-border);
  border-radius: 0.75rem;
  box-shadow:
    0 0.2rem 0.5rem rgba(15, 23, 42, 0.14),
    0 0.85rem 1.8rem rgba(15, 23, 42, 0.18);
}

.habitao-options-settings__menu.dropdown-menu {
  --bs-dropdown-min-width: 0;
  width: max-content;
  min-width: var(--bs-dropdown-min-width);
  max-width: calc(100vw - 1rem);
  color: var(--habitao-header-link);
  background: var(--habitao-header-menu-bg);
  background-color: var(--habitao-header-menu-bg);
  border-color: var(--habitao-header-menu-border);
}

.habitao-options-settings__menu {
  gap: 0.3rem;
}

.habitao-options-settings__menu.show {
  display: grid;
  align-content: start;
}

.habitao-options-settings__section {
  display: grid;
  gap: 0.18rem;
  padding: 0.22rem;
  border: 1px solid rgba(var(--habitao-page-accent-rgb), 0.24) !important;
  border-radius: 0.6rem;
  background: rgba(var(--habitao-page-accent-rgb), 0.05);
}

.habitao-options-settings__section--action {
  background: rgba(var(--habitao-page-accent-rgb), 0.11);
  border-color: rgba(var(--habitao-page-accent-rgb), 0.42) !important;
}

.habitao-options-item,
.habitao-options-settings__section--action .yourturn__presentation-trigger,
.habitao-options-settings__section--action .habitao-auth-trigger {
  display: grid;
  grid-template-columns: 1rem minmax(3.8rem, 1fr) max-content;
  column-gap: 0.55rem;
  min-width: 12rem;
  min-height: 2.35rem;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.65rem;
  line-height: 1.2;
  border-radius: 0.45rem;
  transition:
    background-color 140ms ease,
    color 140ms ease;
}

#habitaoPrimaryNav .habitao-options-settings__menu .habitao-options-item,
#habitaoPrimaryNav .habitao-options-settings__menu .yourturn__presentation-trigger,
#habitaoPrimaryNav .habitao-options-settings__menu .habitao-auth-trigger {
  display: grid;
}

.habitao-options-item__label,
.habitao-options-settings__section--action .yourturn__trigger-label {
  color: var(--habitao-header-link);
  font-size: 0.95rem;
  font-weight: 700;
  justify-self: start;
  text-align: left;
}

.habitao-options-item__value {
  margin-left: 0;
  color: var(--habitao-page-muted);
  font-size: 0.82rem;
  font-weight: 700;
  justify-self: end;
  text-align: right;
}

.habitao-options-settings__section--action .habitao-options-action {
  color: var(--habitao-header-link);
  text-decoration: none;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
}

.habitao-options-settings__section--action .yourturn__trigger-label,
.habitao-options-settings__section--action .habitao-options-item__label {
  color: var(--habitao-page-heading);
  font-weight: 800;
  text-align: left;
}

.habitao-options-settings__section--action .yourturn__presentation-trigger {
  font-size: 0.95rem;
  font-weight: 700;
}

.habitao-options-item:hover,
.habitao-options-item:focus,
.habitao-options-submenu__summary:hover,
.habitao-options-submenu__summary:focus,
.habitao-options-settings__section--action .yourturn__presentation-trigger:hover,
.habitao-options-settings__section--action .yourturn__presentation-trigger:focus,
.habitao-options-settings__section--action .habitao-auth-trigger:hover,
.habitao-options-settings__section--action .habitao-auth-trigger:focus {
  color: var(--habitao-page-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.1);
}

#habitaoPrimaryNav .habitao-options-settings__menu .yourturn__presentation-trigger:hover,
#habitaoPrimaryNav .habitao-options-settings__menu .yourturn__presentation-trigger:focus,
#habitaoPrimaryNav .habitao-options-settings__menu .habitao-auth-trigger:hover,
#habitaoPrimaryNav .habitao-options-settings__menu .habitao-auth-trigger:focus {
  color: var(--habitao-page-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.1);
}

.habitao-options-item:hover .habitao-options-item__label,
.habitao-options-item:focus .habitao-options-item__label,
.habitao-options-item:hover .habitao-options-item__value,
.habitao-options-item:focus .habitao-options-item__value,
.habitao-options-settings__section--action .yourturn__presentation-trigger:hover .yourturn__trigger-label,
.habitao-options-settings__section--action .yourturn__presentation-trigger:focus .yourturn__trigger-label,
.habitao-options-settings__section--action .habitao-auth-trigger:hover .habitao-options-item__label,
.habitao-options-settings__section--action .habitao-auth-trigger:focus .habitao-options-item__label {
  color: currentColor;
}

.habitao-control-icon {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.habitao-control-image {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.habitao-control-image--yourturn {
  border-radius: 999px;
}

.habitao-nav-link-yourturn:hover .habitao-control-image,
.habitao-nav-link-yourturn:focus .habitao-control-image {
  filter: none;
}

.habitao-control-icon--options {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.4 13.5a7.8 7.8 0 0 0 .1-1.5 7.8 7.8 0 0 0-.1-1.5l2-1.5-2-3.5-2.4 1a7.2 7.2 0 0 0-2.6-1.5L14 2h-4l-.4 2.5A7.2 7.2 0 0 0 7 6L4.6 5 2.6 8.5l2 1.5a7.8 7.8 0 0 0-.1 1.5 7.8 7.8 0 0 0 .1 1.5l-2 1.5 2 3.5 2.4-1a7.2 7.2 0 0 0 2.6 1.5L10 22h4l.4-2.5A7.2 7.2 0 0 0 17 18l2.4 1 2-3.5-2-1.5ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.4 13.5a7.8 7.8 0 0 0 .1-1.5 7.8 7.8 0 0 0-.1-1.5l2-1.5-2-3.5-2.4 1a7.2 7.2 0 0 0-2.6-1.5L14 2h-4l-.4 2.5A7.2 7.2 0 0 0 7 6L4.6 5 2.6 8.5l2 1.5a7.8 7.8 0 0 0-.1 1.5 7.8 7.8 0 0 0 .1 1.5l-2 1.5 2 3.5 2.4-1a7.2 7.2 0 0 0 2.6 1.5L10 22h4l.4-2.5A7.2 7.2 0 0 0 17 18l2.4 1 2-3.5-2-1.5ZM12 15.5A3.5 3.5 0 1 1 12 8a3.5 3.5 0 0 1 0 7.5Z'/%3E%3C/svg%3E");
}

.habitao-control-icon--theme {
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset -0.25rem -0.15rem 0 currentColor;
  -webkit-mask-image: none;
  mask-image: none;
}

.habitao-control-icon--language {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 9h-3.1a15 15 0 0 0-1.1-5 8 8 0 0 1 4.2 5ZM12 4.1c.7 1 1.5 3.1 1.8 6.9h-3.6c.3-3.8 1.1-5.9 1.8-6.9ZM4.3 13h3.9c.1 2 .5 3.8 1 5a8 8 0 0 1-4.9-5Zm3.9-2H4.3a8 8 0 0 1 4.9-5c-.5 1.2-.9 3-1 5Zm3.8 8.9c-.7-1-1.5-3.1-1.8-6.9h3.6c-.3 3.8-1.1 5.9-1.8 6.9Zm2.7-1.9c.5-1.2.9-3 1-5h3.9a8 8 0 0 1-4.9 5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 9h-3.1a15 15 0 0 0-1.1-5 8 8 0 0 1 4.2 5ZM12 4.1c.7 1 1.5 3.1 1.8 6.9h-3.6c.3-3.8 1.1-5.9 1.8-6.9ZM4.3 13h3.9c.1 2 .5 3.8 1 5a8 8 0 0 1-4.9-5Zm3.9-2H4.3a8 8 0 0 1 4.9-5c-.5 1.2-.9 3-1 5Zm3.8 8.9c-.7-1-1.5-3.1-1.8-6.9h3.6c-.3 3.8-1.1 5.9-1.8 6.9Zm2.7-1.9c.5-1.2.9-3 1-5h3.9a8 8 0 0 1-4.9 5Z'/%3E%3C/svg%3E");
}

.habitao-control-icon--login {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 17v-3H2v-4h8V7l5 5-5 5Zm2 5v-2h7V4h-7V2h9v20h-9Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 17v-3H2v-4h8V7l5 5-5 5Zm2 5v-2h7V4h-7V2h9v20h-9Z'/%3E%3C/svg%3E");
}

.habitao-control-icon--logout {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 17v-3H6v-4h8V7l5 5-5 5ZM3 22V2h9v2H5v16h7v2H3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 17v-3H6v-4h8V7l5 5-5 5ZM3 22V2h9v2H5v16h7v2H3Z'/%3E%3C/svg%3E");
}

.habitao-control-icon--admin {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.6 8 11 4.6-1.4 8-6 8-11V5l-8-3Zm1 5v4h3l-5 6v-4H8l5-6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.6 8 11 4.6-1.4 8-6 8-11V5l-8-3Zm1 5v4h3l-5 6v-4H8l5-6Z'/%3E%3C/svg%3E");
}

.habitao-control-icon--profile {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-9 9c.7-4.4 4.4-7 9-7s8.3 2.6 9 7H3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-9 9c.7-4.4 4.4-7 9-7s8.3 2.6 9 7H3Z'/%3E%3C/svg%3E");
}

.habitao-options-submenu__summary {
  min-height: 2.25rem;
  color: var(--habitao-header-link);
  list-style: none;
  cursor: pointer;
  border-radius: 0.45rem;
}

.habitao-options-submenu__summary::-webkit-details-marker {
  display: none;
}

.habitao-options-submenu__content {
  display: grid;
  gap: 0.2rem;
  padding: 0.25rem 0.2rem 0;
}

.habitao-theme-settings__option,
.habitao-language-settings__option {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  color: var(--habitao-header-link);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.45rem;
}

.habitao-theme-settings__option input[type='radio'],
.habitao-language-settings__option input[type='radio'] {
  accent-color: var(--habitao-page-accent);
}

.habitao-theme-settings__option:hover,
.habitao-theme-settings__option:focus-within,
.habitao-theme-settings__option:has(input:checked),
.habitao-language-settings__option:hover,
.habitao-language-settings__option:focus-within,
.habitao-language-settings__option:has(input:checked) {
  color: var(--habitao-page-accent);
  background: rgba(var(--habitao-page-accent-rgb), 0.1);
}

.habitao-footer {
  padding: 2rem 0;
  color: #d1d5db;
  background: var(--habitao-dark-bg);
}

.habitao-footer__logo-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.habitao-footer__logo-card {
  min-height: 3rem;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.94);
}

.habitao-footer__logo {
  display: block;
  width: auto;
  max-width: min(12rem, 52vw);
  height: 2.3rem;
  object-fit: contain;
}

.habitao-footer__copy {
  color: #9ca3af;
}

.habitao-footer__nav a {
  color: #e5e7eb;
}

@media (max-width: 575.98px) {
  .habitao-header {
    --habitao-header-control-height: 2.25rem;
    --habitao-header-gap: 0.4rem;
    --habitao-header-pad: 0.35rem;
    top: 0.5rem;
    left: 0.5rem;
    width: max-content;
    max-width: calc(100vw - 1rem);
  }

  body.habitao-page-context-yourturn .habitao-logo-image--full {
    display: none;
  }

  body.habitao-page-context-yourturn .habitao-logo-image--icon {
    display: block;
  }

  .habitao-header .container-fluid {
    max-width: calc(100vw - 1rem);
  }

  #habitaoPrimaryNav > .habitao-options-settings {
    position: static !important;
  }

  #habitaoPrimaryNav > .navbar-nav .yourturn__trigger-label,
  #habitaoPrimaryNav .habitao-header-action-brand-name,
  #habitaoPrimaryNav .habitao-header-secondary-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  #habitaoPrimaryNav > .navbar-nav a,
  #habitaoPrimaryNav > .navbar-nav .yourturn__dashboard-trigger,
  .habitao-options-settings__toggle {
    width: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    flex: 0 0 2.5rem;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  #habitaoPrimaryNav > .navbar-nav a > .yourturn__trigger-icon,
  #habitaoPrimaryNav > .navbar-nav a > .habitao-control-icon,
  .habitao-options-settings__toggle > .habitao-control-icon {
    width: 1.05rem;
    height: 1.05rem;
  }

  .habitao-options-caret {
    margin-left: 0;
  }

  .habitao-logo-safe-card {
    padding: 0.22rem;
  }

  #habitaoPrimaryNav > .navbar-nav a,
  #habitaoPrimaryNav > .navbar-nav .yourturn__dashboard-trigger {
    min-height: 2.5rem;
    padding-right: 0;
    padding-left: 0;
    font-size: 0.92rem;
  }

  .habitao-options-settings__toggle {
    gap: 0.3rem;
    padding-right: 0;
    padding-left: 0;
    font-size: 0.92rem;
  }

  .habitao-options-settings__menu {
    top: calc(100% + 0.45rem) !important;
    right: auto !important;
    left: 0 !important;
    margin-top: 0 !important;
    max-width: calc(100vw - 1rem);
    transform: none !important;
  }

  .habitao-hero {
    --habitao-hero-content-max-inline: min(19.5rem, 82vw);
    --habitao-hero-bg-fade-start: 50%;
    --habitao-hero-bg-midpoint: 76%;
    --habitao-hero-bg-clear-start: 96%;
    --habitao-hero-bg-overlay: linear-gradient(
      90deg,
      rgba(var(--habitao-page-surface-rgb), 0.98) 0%,
      rgba(var(--habitao-page-surface-rgb), 0.92) var(--habitao-hero-bg-fade-start),
      rgba(var(--habitao-page-surface-rgb), 0.42) var(--habitao-hero-bg-midpoint),
      rgba(var(--habitao-page-surface-rgb), 0) var(--habitao-hero-bg-clear-start)
    );
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 6.75rem;
    padding-bottom: 3.5rem;
  }

  .habitao-hero::before,
  .habitao-hero::after {
    background:
      var(--habitao-hero-bg-overlay),
      var(--habitao-page-bg-current) right top / auto 100% no-repeat,
      rgb(var(--habitao-page-surface-rgb));
  }

  .habitao-hero::after {
    background:
      var(--habitao-hero-bg-overlay),
      var(--habitao-page-bg-next) right top / auto 100% no-repeat,
      rgb(var(--habitao-page-surface-rgb));
  }

  .habitao-hero__content {
    max-width: var(--habitao-hero-content-max-inline);
  }

  .habitao-hero h1 {
    font-size: 2.6rem;
  }

  .habitao-hero__actions,
  .habitao-shortcode-action,
  .habitao-shortcode-action a,
  .habitao-hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  #habitaoPrimaryNav .navbar-nav {
    align-items: center !important;
  }

  #habitaoPrimaryNav a {
    padding: 0.6rem 0.75rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .habitao-hero > .container {
    max-width: none;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .habitao-hero {
    --habitao-hero-content-max-inline: min(33rem, 62vw);
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 4.45rem;
    padding-bottom: 1rem;
  }

  .habitao-hero h1 {
    max-width: 18ch;
    margin-bottom: 0.7rem;
    font-size: clamp(2.05rem, 5.5vw, 2.75rem);
  }

  .habitao-hero__lead {
    max-width: 30rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }

  .habitao-hero .habitao-brand-name {
    margin-bottom: 0.45rem;
    font-size: 1rem;
  }

  .habitao-shortcode-action a {
    min-height: 2.55rem;
    padding: 0.55rem 0.9rem;
  }
}

@media (min-width: 992px) {
  .habitao-hero h1 {
    font-size: 4.5rem;
  }

  .habitao-header-actions {
    flex-grow: 0;
  }
}
