:root {
  --blue: #235b50;
  --blue-dark: #16453d;
  --ink: #292e2b;
  --muted: #70746c;
  --line: #eae5d9;
  --soft: #fbf9f4;
  --bg: #f7f3eb;
  --success: #729d76;
  --warning: #c28d4a;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

h1,
h2 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -.045em
}

h3,
h4,
h5,
.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -.03em
}

h1 {
  font-size: clamp(2.7rem, 5.3vw, 4.9rem);
  font-weight: 600;
  line-height: 1.08
}

h2 {
  font-size: clamp(2.05rem, 3.3vw, 3.15rem);
  font-weight: 600;
  line-height: 1.15
}

h3 {
  font-size: 1.15rem;
  font-weight: 700
}

.container {
  max-width: 1120px
}

.section {
  padding: 86px 0
}

.section-sm {
  padding: 56px 0
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px
}

.text-muted-custom {
  color: var(--muted)
}

.text-brand {
  color: var(--blue)
}

.bg-soft {
  background: var(--soft)
}

.rounded-4 {
  border-radius: 1rem !important
}

.navbar {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid #ede8dc
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink) !important
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  margin-right: 10px;
  box-shadow: 0 10px 30px rgba(78, 115, 223, .25)
}

.nav-link {
  font-weight: 600;
  color: #5a6782 !important;
  margin: 0 10px
}

.nav-link:hover {
  color: var(--blue) !important
}

.btn {
  border-radius: 12px;
  font-weight: 700
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  padding: .9rem 1.4rem
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark)
}

.btn-outline-primary {
  color: var(--blue);
  border-color: #bfcfc4;
  padding: .82rem 1.2rem
}

.btn-outline-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff
}

.hero {
  padding: 88px 0 26px;
  text-align: center
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 18px
}

.hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem
}

.search-wrap {
  max-width: 980px;
  margin: 42px auto 0
}

.search-card {
  background: #fff;
  border: 1px solid #e5dfd2;
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(34, 59, 126, .08);
  padding: 26px;
  text-align: left;
}

.field-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #42516d
}

.form-select,
.form-control {
  border: 1px solid #dad6cb;
  border-radius: 12px;
  padding: 14px 15px;
  box-shadow: none !important;
  min-height: 52px;
}

.form-select:focus,
.form-control:focus {
  border-color: var(--blue)
}

.search-submit {
  width: 100%;
  min-height: 52px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-inline: 1.1rem;
}

.search-note {
  font-size: .8rem;
  color: #827e76;
  margin-top: 12px
}

.micro-testimonial {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eee9df;
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 10px 35px rgba(30, 46, 88, .05);
  text-align: left;
  max-width: 100%;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #dde4f2
}

.stars {
  color: var(--warning);
  font-size: .82rem;
  letter-spacing: 2px;
  line-height: 1
}

.micro-testimonial p {
  margin: 3px 0 0;
  font-size: .92rem;
  color: #4d5a73
}

.micro-testimonial small {
  color: #7a879e
}

.university-band {
  padding: 26px 0;
  border-top: 1px solid #ede7da;
  border-bottom: 1px solid #ede7da;
  background: #fbfcff;
  overflow: hidden
}

.university-band .lead {
  font-size: .96rem;
  color: var(--muted);
  margin-bottom: 18px
}

.logo-slider {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent)
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: slideLogos 32s linear infinite
}

.logo-card {
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  background: #fff;
  border: 1px solid #eee9df;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(28, 42, 74, .04);
}

.logo-card img {
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
}

@keyframes slideLogos {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-50% - 9px))
  }
}

.tabs-shell {
  background: #fff;
  border: 1px solid #e5ebf6;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 55px rgba(24, 44, 88, .06)
}

.product-tabs {
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px
}

.product-tabs .nav-link {
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  padding: 12px 18px;
  margin: 0 8px 0 0;
  font-weight: 700;
  color: #8190a9 !important;
}

.product-tabs .nav-link.active {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
  background: transparent
}

.screen-shell {
  background: #fff;
  border: 1px solid #dfe5f1;
  border-radius: 18px;
  overflow: hidden
}

.browser-head {
  background: #fbf9f4;
  border-bottom: 1px solid #eae5d9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dbe7
}

.browser-url {
  margin-left: auto;
  font-size: 10px;
  color: #8e9bb0
}

.app-shot {
  height: 430px;
  background: #f7f4ee;
  display: flex
}

.app-side {
  width: 168px;
  flex: none;
  background: linear-gradient(180deg, #235b50, #183f38);
  padding: 22px 16px;
  color: #dce6ff
}

.app-side strong {
  display: block;
  color: #fff;
  font-size: 12px;
  margin-bottom: 20px
}

.app-side span {
  display: block;
  font-size: 10px;
  margin-bottom: 16px
}

.app-side i {
  width: 18px
}

.app-main {
  flex: 1;
  padding: 24px;
  overflow: hidden
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px
}

.app-top h4 {
  font-size: 18px;
  margin: 0
}

.app-badge {
  font-size: 10px;
  background: #e4efe8;
  color: #376b55;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 700
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.mock-card {
  background: #fff;
  border: 1px solid #eee9df;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 3px 14px rgba(28, 40, 76, .03)
}

.mock-label {
  font-size: 10px;
  color: #91a0b5;
  text-transform: uppercase;
  letter-spacing: .05em
}

.mock-num {
  font-weight: 800;
  font-size: 24px;
  color: #283756
}

.mock-table {
  margin-top: 15px;
  border: 1px solid #eee9df;
  border-radius: 12px;
  background: #fff;
  padding: 15px 18px
}

.mock-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr .7fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 11px;
  color: #63738d;
  align-items: center
}

.mock-row:last-child {
  border-bottom: 0
}

.status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f8f0;
  color: #376b55;
  font-size: 9px;
  font-weight: 700
}

.status.orange {
  background: #fff5dc;
  color: #b07b0a
}

.mail-box {
  background: #fff;
  border: 1px solid #eee9df;
  border-radius: 12px;
  padding: 20px 22px;
  min-height: 300px;
  font-size: 12px;
  color: #4b5770
}

.mail-line {
  padding: 8px 0;
  border-bottom: 1px solid #e7edf6
}

.mail-body {
  line-height: 2;
  margin-top: 15px
}

.success-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.success-item {
  background: #fff;
  border: 1px solid #eee9df;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start
}

.success-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f8f0;
  color: #376b55;
  flex: none
}

.success-item b {
  font-size: 12px
}

.success-item p {
  font-size: 10px;
  color: #8794a8;
  margin: 4px 0 0
}

.screen-note {
  font-size: .8rem;
  color: #827e76;
  text-align: center;
  margin-top: 15px
}

.step-card {
  height: 100%;
  background: #fff;
  border: 1px solid #ece7dd;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 35px rgba(30, 44, 84, .04)
}

.step-no {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #e6ede4;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px
}

.step-card p {
  color: var(--muted);
  margin-bottom: 0
}

.pricing-section {
  background: var(--bg)
}

.quote-box {
  background: #fff;
  border: 1px solid #e4eaf6;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 35px rgba(26, 41, 76, .05);
  max-width: 420px
}

.quote-box p {
  margin: .6rem 0 .35rem;
  color: #5a6882
}

.price-card {
  background: #fff;
  border: 1px solid #ded8ca;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(29, 48, 92, .08);
  max-width: 420px;
  margin-left: auto
}

.price-card .badge {
  background: #e4efe8;
  color: #376b55
}

.price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.06em
}

.price sup {
  font-size: 1.1rem;
  top: -1.4em;
  position: relative;
  margin-right: 6px
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0
}

.checklist li {
  margin: 12px 0;
  color: #48566f
}

.checklist i {
  color: var(--success);
  margin-right: 10px
}

.accordion-item {
  border: 1px solid #e9e2d5 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 12px
}

.accordion-button {
  box-shadow: none !important;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink)
}

.accordion-button:not(.collapsed) {
  background: #f4f1e9;
  color: var(--blue)
}

.accordion-body {
  padding: 6px 20px 20px;
  color: var(--muted)
}

.cta {
  padding: 76px 0;
  background: linear-gradient(135deg, #235b50, #143a34);
  color: #fff;
  text-align: center
}

.cta p {
  max-width: 620px;
  margin: 14px auto 0;
  color: #e8e9de
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: #16453d;
  padding: .92rem 1.45rem
}

.btn-white:hover {
  background: #eef3ff;
  color: #16453d
}

.footer {
  background: #fff;
  padding: 68px 0 30px;
  border-top: 1px solid #eef2f7
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px
}

.footer-title {
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f7b92;
  font-weight: 800;
  margin-bottom: 16px
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0
}

.footer-links li {
  margin: 10px 0
}

.footer-links a {
  text-decoration: none;
  color: #58657f
}

.footer-links a:hover {
  color: var(--blue)
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center
}

.footer-bottom-links a {
  text-decoration: none;
  color: #5e6b85;
  font-weight: 500
}

.footer-bottom-links a:hover {
  color: var(--blue)
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #58657f;
  font-weight: 600
}

.social-link:hover {
  color: var(--blue)
}

.footer-brand-note {
  max-width: 420px;
  color: #6e7a91
}

.copyright {
  color: #8591a5
}

@media (max-width:991.98px) {
  .section {
    padding: 72px 0
  }

  .hero {
    padding: 74px 0 18px
  }

  .app-shot {
    height: 360px
  }

  .app-side {
    width: 118px;
    padding: 18px 10px
  }

  .app-side strong {
    font-size: 10px
  }

  .app-side span {
    font-size: 8px
  }

  .app-main {
    padding: 16px
  }

  .mock-grid {
    gap: 8px
  }

  .mock-card {
    padding: 10px
  }

  .mock-label {
    font-size: 8px
  }

  .mock-num {
    font-size: 18px
  }

  .success-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .price-card {
    margin-left: 0
  }
}

@media (max-width:767.98px) {
  .hero p {
    font-size: 1rem
  }

  .search-card {
    padding: 20px
  }

  .micro-testimonial {
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start
  }

  .logo-card {
    width: 152px;
    height: 110px
  }

  .product-tabs {
    overflow-x: auto;
    white-space: nowrap
  }

  .app-shot {
    height: 320px
  }

  .mock-table {
    padding: 12px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bottom-links {
    justify-content: flex-start
  }
}

/* Fieldnotes palette: botanical evergreen, parchment, graphite and copper. */
:root {
  --blue: #235b50;
  --blue-dark: #16453d;
  --ink: #292e2b;
  --muted: #70746c;
  --line: #e9e2d5;
  --soft: #faf7ef;
  --bg: #f7f3eb;
  --success: #729d76;
  --warning: #c28d4a
}

body {
  background: #fffdf9
}

.navbar {
  background: #fffdf9;
  border-bottom: 1px solid #ede7dc
}

.brand-icon {
  background: #235b50;
  border-radius: 10px;
  box-shadow: none
}

.hero {
  background: radial-gradient(ellipse at 50% 5%, #f7efe2 0%, #fffdf9 65%);
  padding-top: 100px
}

.hero h1 {
  max-width: 860px;
  color: #27352d
}

.hero p {
  color: #626f66
}

.search-card {
  border: 1px solid #e4dccb;
  box-shadow: 0 18px 44px rgba(49, 54, 40, .065);
  border-radius: 14px;
  background: #fffefa
}

.form-control,
.form-select {
  background-color: #fffefa
}

.form-control:focus,
.form-select:focus {
  border-color: #235b50
}

.btn-primary {
  box-shadow: 0 6px 0 rgba(27, 66, 55, .10)
}

.search-submit:hover {
  transform: translateY(-1px)
}

.micro-testimonial {
  box-shadow: none;
  background: #fffaf1;
  border-color: #eee4d1
}

.university-band {
  background: #f7f4ed
}

.logo-card {
  border: 1px solid #e8dfcf;
  box-shadow: none;
  background: #fff
}

.eyebrow {
  color: #a56240
}

.tabs-shell,
.step-card,
.price-card,
.quote-box {
  box-shadow: 0 8px 30px rgba(41, 49, 40, .035)
}

.tabs-shell {
  background: #fffdf9;
  border-color: #e9e2d5
}

.app-side {
  background: linear-gradient(180deg, #235b50, #173e36)
}

.app-shot {
  background: #f6f4ee
}

.cta {
  background: #204b41;
  position: relative;
  overflow: hidden
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 70%, rgba(228, 188, 129, .15), transparent 29%), radial-gradient(circle at 90% 15%, rgba(194, 217, 179, .12), transparent 28%);
  pointer-events: none
}

.cta .container {
  position: relative
}

.btn-white {
  background: #f3e5ca;
  border-color: #f3e5ca;
  color: #244b40
}

.btn-white:hover {
  background: #fff4de;
  color: #244b40
}

.footer {
  background: #f8f5ed;
  border-top: 1px solid #e9e2d5
}

.footer-title {
  color: #986447
}

.footer-links a,
.footer-bottom-links a {
  color: #515e55
}

.footer a:hover {
  color: #235b50
}

@media(prefers-reduced-motion:reduce) {
  .logo-track {
    animation: none
  }

  html {
    scroll-behavior: auto
  }
}

/* Shared reusable page layout */
.site-header .brand-logo,
.footer-brand-logo {
  width: 316px;
  max-width: 100%;
  height: auto;
  display: block
}

.site-header .navbar-brand {
  display: flex;
  align-items: center
}

.site-header .nav-account {
  display: flex;
  gap: 12px;
  align-items: center
}

.profile-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid #dfded2;
  background: #e0e8dd;
  color: #26594d;
  display: grid;
  place-items: center;
  font-size: 1rem
}

.profile-button::after {
  display: none
}

.profile-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px
}

.profile-menu {
  border: 1px solid #e0dfd2;
  border-radius: 12px;
  box-shadow: 0 12px 35px #1d2a2230
}

.page-heading {
  padding: 74px 0 42px;
  background: var(--soft)
}

.page-heading p {
  color: var(--muted);
  max-width: 690px
}

.content-section {
  padding: 58px 0 86px
}

.content-card {
  border: 1px solid #e8e4da;
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 35px #19231b0a
}

.feature-kicker {
  color: #6b857b;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 800
}

.demo-notice {
  background: #fff6e8;
  color: #765b36;
  border: 1px solid #e8d7b9;
  border-radius: 12px;
  padding: 11px 15px;
  font-size: .85rem
}

.dashboard-frame {
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
  gap: 28px;
  align-items: start
}

.dashboard-sidebar {
  position: sticky;
  top: 104px;
  border: 1px solid #e4e6dc;
  background: #fff;
  border-radius: 17px;
  padding: 22px 15px
}

.dashboard-sidebar .sidebar-heading {
  padding: 0 12px 12px;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7e9088;
  font-weight: 800
}

.dashboard-sidebar a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  color: #536a60;
  font-weight: 650;
  text-decoration: none;
  border-radius: 10px;
  font-size: .92rem
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
  background: #e7f1e9;
  color: #245b4d
}

.dashboard-sidebar a i {
  width: 19px;
  text-align: center
}

.stat-card {
  border: 1px solid #e5e9df;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  height: 100%
}

.stat-icon {
  height: 38px;
  width: 38px;
  border-radius: 12px;
  background: #eaf4ec;
  color: #28604f;
  display: grid;
  place-items: center
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.4
}

.progress {
  height: 9px;
  background: #e9eee8;
  border-radius: 20px
}

.progress-bar {
  background: #28604f
}

.metric-label {
  font-size: .85rem;
  color: #738378
}

.quick-action {
  background: #f6f7f1;
  border: 1px solid #e7e9df;
  border-radius: 14px;
  padding: 17px
}

.quick-action i {
  color: #28604f
}

.chart-holder {
  height: 270px;
  position: relative
}

.timeline-item {
  position: relative;
  padding-left: 31px;
  padding-bottom: 22px;
  border-left: 2px solid #dbe9de;
  margin-left: 10px
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  background: #31725d;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b8d5c6
}

.blog-article {
  max-width: 780px;
  margin: auto
}

.blog-article h2 {
  font-size: 1.75rem;
  margin: 38px 0 16px
}

.blog-article h3 {
  font-size: 1.15rem;
  margin-top: 26px
}

.blog-article p,
.blog-article li {
  line-height: 1.85;
  color: #4e5d53
}

.blog-article .article-intro {
  font-size: 1.16rem;
  color: #46584f
}

.article-meta {
  font-size: .85rem;
  color: #879287
}

.toc {
  padding: 22px 25px;
  border-radius: 16px;
  background: #f4f6ef;
  border: 1px solid #e2e8df
}

.toc a {
  color: #2b6554;
  text-decoration: none
}

.legal-doc {
  max-width: 850px;
  margin: auto
}

.legal-doc section {
  scroll-margin-top: 100px
}

.legal-doc h2 {
  font-size: 1.7rem;
  margin-top: 36px
}

.legal-doc p {
  color: #536159
}

.contact-info i {
  color: #2d6554;
  width: 26px
}

.form-label {
  font-weight: 700;
  font-size: .88rem
}

.footer-brand-logo {
  width: 218px
}

@media(max-width:991px) {
  .dashboard-frame {
    grid-template-columns: 1fr
  }

  .dashboard-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 10px
  }

  .dashboard-sidebar .sidebar-heading {
    display: none
  }

  .dashboard-sidebar a {
    white-space: nowrap
  }

  .site-header .nav-account {
    padding: 12px 0
  }
}

@media(max-width:600px) {
  .page-heading {
    padding: 45px 0 25px
  }

  .content-section {
    padding: 36px 0 58px
  }

  .content-card {
    padding: 18px
  }

  .site-header .brand-logo {
    width: 185px
  }
}

.legal-doc a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc a:hover {
  color: var(--blue-dark);
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

/* Testimonial marquee cards */
.testimonial-section { background: #faf7ef; overflow: hidden; }
.testimonial-disclaimer { max-width: 670px; color: var(--muted); font-size: .82rem; margin: 12px auto 0; }
.testimonial-slider { overflow: hidden; width: 100%; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.testimonial-track { display: flex; width: max-content; animation: testimonialScroll 75s linear infinite; }
.testimonial-slider:hover .testimonial-track { animation-play-state: paused; }
.testimonial-group { display: flex; flex: 0 0 auto; gap: 22px; padding-right: 22px; }
.testimonial-card { width: 340px; min-height: 355px; display: flex; flex-direction: column; padding: 27px; background: #fff; border: 1px solid #e8e2d7; border-radius: 18px; box-shadow: 0 8px 25px rgba(35, 70, 55, .04); }
.testimonial-stars { color: #c28d4a; font-size: 1rem; letter-spacing: .15em; margin-bottom: 14px; }
.testimonial-card h3 { font-size: 1.05rem; color: #27352d; margin-bottom: 12px; line-height: 1.5; }
.testimonial-card .testimonial-quote { color: #526358; line-height: 1.7; font-size: .91rem; margin: 0 0 22px; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid #f0ece4; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #f0ede7; }
.testimonial-person strong, .testimonial-person span { display: block; }
.testimonial-person strong { color: #27352d; font-size: .85rem; }
.testimonial-person span { color: #819087; font-size: .75rem; }
@keyframes testimonialScroll { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) { .testimonial-card { width: 285px; padding: 22px; min-height: 385px; } .testimonial-group { gap: 14px; padding-right: 14px; } .testimonial-track { animation-duration: 65s; } }
@media (prefers-reduced-motion: reduce) { .testimonial-track { animation: none; } .testimonial-slider { overflow-x: auto; mask-image: none; } }

/* Keep the profile dropdown visible on narrow screens. */
@media (max-width: 767.98px) {
  .site-header .nav-account .dropdown {
    position: relative;
  }

  .site-header .nav-account .profile-menu {
    left: auto !important;
    right: 0 !important;
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    min-width: 190px;
    max-width: calc(100vw - 24px);
    transform: none !important;
    z-index: 1100;
  }

  .site-header .navbar-collapse,
  .site-header .nav-account {
    overflow: visible;
  }
}


/* Small-screen navigation, social proof and footer alignment */
@media (max-width: 767.98px) {
  /* Anchor the profile control on the right, even in a collapsed navbar. */
  .site-header .nav-account {
    justify-content: flex-end !important;
    width: 100%;
    min-width: 0;
    overflow: visible !important;
  }
  .site-header .nav-account .dropdown {
    position: relative;
    margin-left: auto;
  }
  /* Fixed placement avoids Popper's left-side positioning and clipping
     from ancestor containers on narrow viewports. */
  .site-header .profile-menu,
  .site-header .nav-account .dropdown-menu,
  .site-header .dropdown-menu[aria-labelledby*="profile"] {
    position: fixed !important;
    inset: 72px 12px auto auto !important;
    left: auto !important;
    right: 12px !important;
    top: 72px !important;
    transform: none !important;
    width: max-content;
    min-width: 190px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    z-index: 2000;
  }

  /* Centre avatar-and-stars social proof under the hero. */
  .micro-testimonial {
    display: flex;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 18px auto 0 !important;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .micro-testimonial .stars { text-align: center; }
  .testimonial-card .testimonial-stars { text-align: center; }
  .testimonial-card .testimonial-person { justify-content: center; }

  /* Centre footer groups, lists, brand and bottom links. */
  .footer,
  .footer-grid,
  .footer-grid > *,
  .footer-title,
  .footer-links,
  .footer-brand-note { text-align: center !important; }
  .footer-links { padding-left: 0; }
  .footer-bottom-links { justify-content: center !important; text-align: center; }
  .footer-brand-logo { margin-left: auto; margin-right: auto; }
  .footer .social-link { justify-content: center; }
}

/* Mobile navbar: hamburger, then profile avatar; dropdown opens leftwards. */
@media (max-width: 767.98px) {
  .site-header .navbar > .container,
  .site-header .navbar > .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
  .site-header .navbar-brand { order: 0; margin-right: auto; min-width: 0; }
  .site-header .navbar-toggler { order: 1; margin: 0; flex: 0 0 auto; }
  .site-header .nav-account {
    order: 2;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0;
    flex: 0 0 auto;
    justify-content: flex-start !important;
  }
  .site-header .nav-account .dropdown { margin: 0 !important; position: relative; }
  .site-header .navbar-collapse { order: 3; flex-basis: 100%; width: 100%; }
  .site-header .profile-menu,
  .site-header .nav-account .dropdown-menu {
    position: absolute !important;
    inset: 100% 0 auto auto !important;
    left: auto !important;
    right: 0 !important;
    top: 100% !important;
    transform: none !important;
    min-width: 190px;
    max-width: calc(100vw - 20px);
    z-index: 2100;
  }
}


/* Final responsive profile layout: desktop right/opens left;
   mobile left/opens right. Overrides previous mobile dropdown rules. */
@media (min-width: 768px) {
  .site-header .nav-account .dropdown { position: relative; }
  .site-header .nav-account .profile-menu,
  .site-header .nav-account .dropdown-menu {
    position: absolute !important;
    inset: 100% 0 auto auto !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    max-width: calc(100vw - 24px);
    z-index: 2100;
  }
}
@media (max-width: 767.98px) {
  .site-header .navbar > .container,
  .site-header .navbar > .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .site-header .nav-account {
    order: -1 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }
  .site-header .nav-account .dropdown { position: relative !important; margin: 0 !important; }
  .site-header .navbar-brand { order: 0 !important; margin: 0 auto 0 0 !important; }
  .site-header .navbar-toggler { order: 1 !important; margin: 0 !important; }
  .site-header .navbar-collapse { order: 2 !important; flex-basis: 100%; }
  .site-header .profile-menu,
  .site-header .nav-account .dropdown-menu,
  .site-header .dropdown-menu[aria-labelledby*="profile"] {
    position: absolute !important;
    inset: 100% auto auto 0 !important;
    left: 0 !important;
    right: auto !important;
    top: 100% !important;
    transform: none !important;
    min-width: 190px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    z-index: 2200;
  }
}

/* Pricing: original price and automatic percentage discount */
.pricing-amounts { margin-bottom: 12px; }
.pricing-amounts .price { color: var(--ink); }
.pricing-discount-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pricing-original-price {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.pricing-original-price s { text-decoration-thickness: 1.5px; }
.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e4efe8;
  color: #235b50;
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .02em;
}
@media (max-width: 480px) {
  .pricing-amounts .price { font-size: 3.4rem; }
}
