:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html:not(.theme-color-yellow) {
  --primary-dark: #073f38;
  --primary: #0f5b50;
  --accent: #17a79e;
  --accent-soft: #ddf3ef;
  --sage: #e8f0e8;
  --cream: #f7f2e8;
  --text: #172421;
  --muted: #64736e;
  --border: #d8e3de;
  --white: #ffffff;
}

html:not(.theme-color-yellow) .footer__bottom {
  background-color: var(--accent-soft);
}

html:not(.theme-color-yellow) svg.icon.icon--facebook,
html:not(.theme-color-yellow) .header__links .icon,
html:not(.theme-color-yellow) .header__params .icon,
html:not(.theme-color-yellow) .footer a:active,
html:not(.theme-color-yellow) .footer a:hover,
html:not(.theme-color-yellow) .footer button:active,
html:not(.theme-color-yellow) .footer button:hover,
html:not(.theme-color-yellow) .footer__links .icon,
html:not(.theme-color-yellow) .footer__params .icon,
html:not(.theme-color-yellow) .footer__share-item a:hover {
  color: var(--accent);
}

.footer__title {
  line-height: 1.25;
  text-transform: none;
  font-size: 18px;
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

html:not(.theme-color-yellow) .footer__title {
  color: var(--primary-dark);
  color: var(--primary-dark);
}

html:not(.theme-color-yellow) .footer {
  background-color: color-mix(in srgb, var(--sage) 60%, var(--cream));
  color: var(--primary-dark);
}

.menu .impersonated__wrapper,
.menu a,
.menu a:visited,
.menu button {
  font-size: 16px;
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

html:not(.theme-color-yellow) .menu .impersonated__wrapper,
html:not(.theme-color-yellow) .menu a,
html:not(.theme-color-yellow) .menu a:visited,
html:not(.theme-color-yellow) .menu button {
  color: var(--primary-dark);
}

li:has(svg.icon--heart),
li:has(svg.icon--heart-empty),
li:has(svg.icon--random),
li:has(svg.icon--search),
li:has(svg.icon--user),
li:has(svg.icon--sign-out-alt),
.cover.cover--static,
.article__footer,
icon--user-plus,
button[data-tabhref="#usermenu"] {
  display: none !important;
}

button.drawer__tab {
  justify-content: flex-start;
  padding: 15px;
}

html:not(.theme-color-yellow) .header {
  background-color: white;
  color: var(--primary-dark);
}

html:not(.theme-color-yellow) .header__top {
  background-color: var(--primary-dark);
  color: white;
}

html:not(.theme-color-yellow) main svg {
  fill: none;
}

@media (min-width: 1200px) {
  .site-wrap {
    padding-top: 124.93px;
  }
}

section.homepage-static-content {
  padding-top: 0;
  margin-top: 0;
}

section.hero-custom {
  padding-top: 0;
  padding-bottom: 0;
}

@media (min-width: 1200px) {
  .header__middle {
    padding: 14px 0;
  }
}

@media (min-width: 1200px) {
  main > aside.carousel-section:last-child,
  main > section:last-child {
    padding-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .footer__bottom-inner {
    padding: 20px;
  }
}

@media (min-width: 1200px) {
  .carousel-section,
  section {
    padding: 0;
  }
}

@media (min-width: 1200px) {
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:visited,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > button,
  html:not(.theme-color-yellow) .menu a:active,
  html:not(.theme-color-yellow) .menu a:hover,
  html:not(.theme-color-yellow) .menu a:visited:active,
  html:not(.theme-color-yellow) .menu a:visited:hover,
  html:not(.theme-color-yellow) .menu button:active,
  html:not(.theme-color-yellow) .menu button:hover,
  html:not(.theme-color-yellow) .menu li.active > a,
  html:not(.theme-color-yellow) .menu li.active > a:visited,
  html:not(.theme-color-yellow) .menu li.active > button,
  html:not(.theme-color-yellow) .menu li.selected > a,
  html:not(.theme-color-yellow) .menu li.selected > a:visited,
  html:not(.theme-color-yellow) .menu li.selected > button {
    color: hsl(var(--ink));
  }

  html:not(.theme-color-yellow)
    .menu
    .menu__dropdown.js-subnav.subnav-is-open
    li.selected
    > a,
  html:not(.theme-color-yellow)
    .menu
    .menu__dropdown.js-subnav.subnav-is-open
    li.selected
    > a:visited {
    color: #fff;
  }
}

.footer__tender-images,
.footer__tender-text {
  text-align: center;
}

.footer__tender-images img {
  width: 100%;
  max-width: 250px;
  height: 100%;
  padding: 1rem 0;
}

.footer__tender-imgcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

@media (max-width: 768px) {
  .footer__tender-imgcontainer {
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html:not(.theme-color-yellow) body {
  color: var(--text);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

html:not(.theme-color-yellow) a {
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}

html:not(.theme-color-yellow) h1,
html:not(.theme-color-yellow) h2,
html:not(.theme-color-yellow) h3 {
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

html:not(.theme-color-yellow) .muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

/* ===== Section label ===== */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .section-label {
  color: var(--primary);
}

.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: inline-block;
}

html:not(.theme-color-yellow) .section-label .dot {
  background: var(--accent);
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

html:not(.theme-color-yellow) .btn {
  border-color: transparent;
}

html:not(.theme-color-yellow) .btn-primary {
  background: var(--primary);
  color: #fff;
}

html:not(.theme-color-yellow) .btn-primary:hover {
  background: var(--primary-dark);
}

html:not(.theme-color-yellow) .btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

html:not(.theme-color-yellow) .btn-ghost:hover {
  background: var(--sage);
}

.btn-accent {
  padding: 14px 24px;
}

html:not(.theme-color-yellow) .btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
}

html:not(.theme-color-yellow) .btn-accent:hover {
  background: var(--accent-soft);
}

/* ===== HERO ===== */

.hero {
  padding: 40px 0 48px !important;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-text h1 {
  margin-top: 24px;
}

.hero-text .lead {
  margin-top: 24px;
  max-width: 36rem;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .hero-text .lead {
  color: var(--muted);
}

.btn-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-collage {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
}

.hc-main {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .hc-main {
  background: var(--sage);
}

.hc-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hc-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .hc-thumb {
  background: var(--accent-soft);
}

.hc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-stat {
  flex: 1;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

html:not(.theme-color-yellow) .hc-stat {
  background: var(--primary-dark);
  color: #fff;
}

.stat-num {
  font-size: 30px;
  letter-spacing: -0.02em;
  font-family: "Instrument Sans", sans-serif;
}

.stat-label {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}

html:not(.theme-color-yellow) .ic-accent {
  color: var(--accent);
}

.ic-primary {
  flex-shrink: 0;
  margin-top: 2px;
}

html:not(.theme-color-yellow) .ic-primary {
  color: var(--primary);
}

/* Trust row */

.trust-row {
  margin-top: 64px;
  border-top-width: 1px;
  border-top-style: solid;
  padding-top: 32px;
}

html:not(.theme-color-yellow) .trust-row {
  border-top-color: var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-item span {
  font-size: 14px;
  line-height: 1.6;
  max-width: 200px;
}

html:not(.theme-color-yellow) .trust-item span {
  color: var(--muted);
}

/* ===== INTRO ===== */

.intro {
  padding: 80px 0;
}

html:not(.theme-color-yellow) .intro {
  background: var(--sage);
}

.intro-head h2 {
  margin-top: 20px;
}

.intro-head p {
  margin-top: 24px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.intro-head p + p {
  margin-top: 16px;
}

.intro-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.card {
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

html:not(.theme-color-yellow) .card {
  background: #fff;
  border-color: var(--border);
}

.ic-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html:not(.theme-color-yellow) .ic-circle {
  background: var(--accent-soft);
  color: var(--primary);
}

.card p {
  font-size: 14px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .card p {
  color: var(--muted);
}

/* ===== FOR WHOM ===== */

.forwhom {
  padding: 80px 0;
}

.forwhom-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .forwhom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.forwhom-intro h2 {
  margin-top: 20px;
}

.forwhom-intro p {
  margin-top: 24px;
  line-height: 1.65;
}

.forwhom-intro p + p {
  margin-top: 16px;
}

.forwhom-list {
  border-top-width: 1px;
  border-top-style: solid;
}

html:not(.theme-color-yellow) .forwhom-list {
  border-top-color: var(--border);
}

.forwhom-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .forwhom-list li {
  border-bottom-color: var(--border);
}

@media (min-width: 768px) {
  .forwhom-list li {
    grid-template-columns: auto 1fr 2fr;
  }
}

.forwhom-list .n {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

html:not(.theme-color-yellow) .forwhom-list .n {
  color: var(--muted);
}

.forwhom-list h3 {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .forwhom-list h3 {
    font-size: 1.125rem;
  }
}

.forwhom-list p {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .forwhom-list p {
  color: var(--muted);
}

@media (min-width: 768px) {
  .forwhom-list p {
    grid-column: 3;
  }
}

/* ===== PROCESS ===== */

.process {
  padding: 80px 0;
}

html:not(.theme-color-yellow) .process {
  background: color-mix(in srgb, var(--sage) 60%, var(--cream));
}

.process-head h2 {
  margin-top: 20px;
}

.process-head p {
  margin-top: 20px;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.process-card {
  margin-top: 56px;
  border-radius: 24px;
  border-width: 1px;
  border-style: solid;
  overflow: hidden;
}

html:not(.theme-color-yellow) .process-card {
  background: #fff;
  border-color: var(--border);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 28px;
}

@media (min-width: 768px) {
  .process-step {
    grid-template-columns: 120px 1fr 2fr;
    gap: 12px 32px;
    padding: 40px;
    align-items: start;
  }
}

.process-step + .process-step {
  border-top-width: 1px;
  border-top-style: solid;
}

html:not(.theme-color-yellow) .process-step + .process-step {
  border-top-color: var(--border);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

html:not(.theme-color-yellow) .step-badge {
  background: var(--accent-soft);
  color: var(--primary);
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .process-step h3 {
    font-size: 1.25rem;
  }
}

.process-step p {
  font-size: 14px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .process-step p {
  color: var(--muted);
}

@media (min-width: 768px) {
  .process-step p {
    padding-top: 4px;
  }
}

/* ===== ABOUT ===== */

.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.about-media {
  position: relative;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .portrait {
  background: var(--sage);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  bottom: -20px;
  right: -12px;
  padding: 16px 20px;
  border-radius: 16px;
  max-width: 220px;
}

html:not(.theme-color-yellow) .badge {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(7, 63, 56, 0.25);
}

@media (min-width: 768px) {
  .badge {
    right: 24px;
  }
}

.badge-label {
  font-size: 12px;
  opacity: 0.75;
}

.badge-text {
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.3;
}

.about-text h2 {
  margin-top: 20px;
  line-height: 1.15;
}

.about-paragraphs {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .about-paragraphs {
  color: var(--muted);
}

.about-text .btn {
  margin-top: 32px;
}

/* ===== CTA ===== */

.cta {
  padding: 0 0 80px !important;
}

.cta-card {
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .cta-card {
  background: var(--primary-dark);
  color: #fff;
}

.cta-grid {
  display: grid;
  gap: 40px;
  padding: 32px;
}

@media (min-width: 768px) {
  .cta-grid {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    padding: 64px;
  }
}

html:not(.theme-color-yellow) .cta-label {
  color: var(--accent);
}

.cta-card h2 {
  margin-top: 20px;
  line-height: 1.15;
}

html:not(.theme-color-yellow) .cta-card h2 {
  color: #fff;
}

.cta-lead {
  margin-top: 24px;
  opacity: 0.8;
  max-width: 28rem;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .cta-lead,
html:not(.theme-color-yellow) .cta-hours {
  color: #fff;
}

.cta-hours {
  margin-top: 24px;
  font-size: 12px;
  opacity: 0.7;
}

html:not(.theme-color-yellow) .cta-hours .hl {
  color: var(--accent);
}

.cta-card .btn {
  margin-top: 32px;
}

.cta-contact {
  padding-top: 0;
}

@media (min-width: 1024px) {
  .cta-contact {
    padding-left: 40px;
    border-left-width: 1px;
    border-left-style: solid;
  }

  html:not(.theme-color-yellow) .cta-contact {
    border-left-color: rgba(255, 255, 255, 0.1);
  }
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

.contact-name {
  font-family: "Instrument Sans", sans-serif;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-top: 20px;
}

.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-list li svg {
  margin-top: 2px;
}

.contact-list a,
.contact-list span {
  opacity: 0.9;
}

.contact-list a:hover {
  opacity: 1;
}

/* ===== Reveal animations ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(32px);
}

.reveal-right {
  transform: translateX(-32px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.stagger .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.stagger.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible .stagger-item:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.is-visible .stagger-item:nth-child(2) {
  transition-delay: 0.14s;
}

.stagger.is-visible .stagger-item:nth-child(3) {
  transition-delay: 0.23s;
}

.stagger.is-visible .stagger-item:nth-child(4) {
  transition-delay: 0.32s;
}

.stagger.is-visible .stagger-item:nth-child(5) {
  transition-delay: 0.41s;
}

.stagger.is-visible .stagger-item:nth-child(6) {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 1200px) {
  .header__logo img {
    max-height: 90px;
  }
}

/* ===== Shared: two-col with sticky heading ===== */

.two-col {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.two-col .col-title {
  position: static;
}

@media (min-width: 1024px) {
  .two-col .col-title.sticky {
    position: sticky;
    top: 48px;
    align-self: start;
  }
}

.two-col h2 {
  margin-top: 20px;
}

.two-col .col-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .two-col .col-body {
  color: var(--muted);
}

.section-pad {
  padding: 80px 0;
}

html:not(.theme-color-yellow) .bg-sage {
  background: var(--sage);
}

.bg-sage-soft {
  background: color-mix(in srgb, var(--sage) 60%, var(--cream));
}

/* ===== Rolam: hero badge ===== */

.rolam-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .rolam-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
}

.rolam-hero-media {
  position: relative;
}

.rolam-hero-media .portrait {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .rolam-hero-media .portrait {
  background: var(--sage);
}

.rolam-hero-media .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rolam-hero-media .badge {
  position: absolute;
  bottom: -20px;
  right: -12px;
  padding: 16px 20px;
  border-radius: 16px;
  max-width: 220px;
}

html:not(.theme-color-yellow) .rolam-hero-media .badge {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(7, 63, 56, 0.25);
}

@media (min-width: 768px) {
  .rolam-hero-media .badge {
    right: 24px;
  }
}

.rolam-hero-media .badge-label {
  font-size: 12px;
  opacity: 0.75;
}

.rolam-hero-media .badge-text {
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.3;
}

/* ===== Credentials list ===== */

.creds-card {
  margin-top: 40px;
  border-radius: 24px;
  border-width: 1px;
  border-style: solid;
  padding: 28px;
}

html:not(.theme-color-yellow) .creds-card {
  background: #fff;
  border-color: var(--border);
}

@media (min-width: 768px) {
  .creds-card {
    padding: 36px;
  }
}

.creds-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .creds-header {
  color: var(--primary);
}

.creds-list {
  margin-top: 24px;
}

.creds-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  align-items: start;
}

html:not(.theme-color-yellow) .creds-list li {
  border-bottom-color: var(--border);
}

.creds-list li:last-child {
  border-bottom: 0;
}

.creds-list .yr {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

html:not(.theme-color-yellow) .creds-list .yr {
  color: var(--muted);
}

.creds-list .txt {
  line-height: 1.4;
}

html:not(.theme-color-yellow) .creds-list .txt {
  color: var(--primary-dark);
}

/* ===== Credo (centered) ===== */

.credo {
  padding: 80px 0;
}

.credo-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.credo-inner h2 {
  margin-top: 20px;
}

.credo-body {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .credo-body {
  color: var(--muted);
}

/* ===== Neurofeedback: hero chips overlay ===== */

.nf-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nf-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
  }
}

.nf-hero-media {
  position: relative;
}

.nf-hero-media .frame {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .nf-hero-media .frame {
  background: var(--sage);
}

.nf-hero-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chip {
  position: absolute;
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
}

html:not(.theme-color-yellow) .chip {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

html:not(.theme-color-yellow) .chip.chip-dark {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(7, 63, 56, 0.4);
}

.chip.top-left {
  top: 16px;
  left: 16px;
}

.chip.top-right {
  top: 64px;
  right: 16px;
}

.chip.bottom-left {
  bottom: 24px;
  left: 24px;
}

/* Explain head left-aligned */

.head-left h2 {
  margin-top: 20px;
}

.head-left p {
  margin-top: 20px;
  max-width: 42rem;
  line-height: 1.65;
}

/* HowItWorks points */

.point-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.point-list .ic-circle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

html:not(.theme-color-yellow) .point-list .pt-title {
  color: var(--primary-dark);
}

.point-list .pt-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .point-list .pt-text {
  color: var(--muted);
}

.howitworks-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .howitworks-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.howitworks-media .frame {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .howitworks-media .frame {
  background: var(--sage);
}

.howitworks-media .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Session flow (like process, allow 4 steps) */

.stagger.is-visible .stagger-item:nth-child(7) {
  transition-delay: 0.59s;
}

.stagger.is-visible .stagger-item:nth-child(8) {
  transition-delay: 0.68s;
}

.stagger.is-visible .stagger-item:nth-child(9) {
  transition-delay: 0.77s;
}

.stagger.is-visible .stagger-item:nth-child(10) {
  transition-delay: 0.86s;
}

/* Tag pills */

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pills li span {
  display: inline-flex;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
}

html:not(.theme-color-yellow) .tag-pills li span {
  border-color: var(--border);
  background: #fff;
  color: var(--primary-dark);
}

.highlight-box {
  margin-top: 32px;
  border-radius: 24px;
  border-width: 1px;
  border-style: solid;
  padding: 24px;
}

html:not(.theme-color-yellow) .highlight-box {
  background: var(--accent-soft);
  border-color: var(--border);
}

.highlight-box .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
  font-size: 14px;
}

html:not(.theme-color-yellow) .highlight-box .row {
  color: var(--primary-dark);
}

.highlight-box svg {
  flex-shrink: 0;
  margin-top: 2px;
}

html:not(.theme-color-yellow) .highlight-box svg {
  color: var(--primary-dark);
}

/* Safety dark card */

.safety-card {
  border-radius: 24px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .safety-card {
  background: var(--primary-dark);
  color: #fff;
}

.safety-grid {
  display: grid;
  gap: 40px;
  padding: 32px;
}

@media (min-width: 768px) {
  .safety-grid {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .safety-grid {
    grid-template-columns: 1fr 1fr;
    padding: 64px;
  }
}

.safety-card h2 {
  margin-top: 20px;
}

html:not(.theme-color-yellow) .safety-card h2 {
  color: #fff;
}

.safety-card .lead {
  margin-top: 24px;
  opacity: 0.8;
  max-width: 28rem;
  line-height: 1.65;
}

.safety-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .safety-items {
    padding-left: 40px;
    border-left-width: 1px;
    border-left-style: solid;
  }

  html:not(.theme-color-yellow) .safety-items {
    border-left-color: rgba(255, 255, 255, 0.1);
  }
}

.safety-items li {
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  padding: 20px;
}

html:not(.theme-color-yellow) .safety-items li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.safety-items .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.safety-items svg {
  flex-shrink: 0;
  margin-top: 2px;
}

html:not(.theme-color-yellow) .safety-items svg {
  color: var(--accent);
}

html:not(.theme-color-yellow) .safety-items .it-title {
  color: #fff;
}

.safety-items .it-text {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* Device bullet card */

.bullet-card {
  margin-top: 32px;
  border-radius: 24px;
  border-width: 1px;
  border-style: solid;
  padding: 28px;
}

html:not(.theme-color-yellow) .bullet-card {
  background: #fff;
  border-color: var(--border);
}

@media (min-width: 768px) {
  .bullet-card {
    padding: 36px;
  }
}

.bullet-card .hdr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html:not(.theme-color-yellow) .bullet-card .hdr {
  color: var(--primary);
}

.bullet-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 24px;
}

@media (min-width: 640px) {
  .bullet-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bullet-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

html:not(.theme-color-yellow) .bullet-grid li {
  border-bottom-color: var(--border);
}

.bullet-grid li:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .bullet-grid li:nth-last-child(2) {
    border-bottom: 0;
  }
}

.bullet-grid .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 9px;
  flex-shrink: 0;
}

html:not(.theme-color-yellow) .bullet-grid .dot {
  background: var(--accent);
}

.bullet-grid .lbl {
  line-height: 1.35;
}

html:not(.theme-color-yellow) .bullet-grid .lbl {
  color: var(--primary-dark);
}

/* FAQ accordion */

.faq {
  padding: 80px 0;
}

html:not(.theme-color-yellow) .faq {
  background: var(--sage);
}

.faq-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
}

.faq-head h2 {
  margin-top: 20px;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .faq-item {
  background: #fff;
  border-color: var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  transition: background-color 0.2s;
}

html:not(.theme-color-yellow) .faq-q {
  background: transparent;
  color: var(--primary-dark);
}

html:not(.theme-color-yellow) .faq-q:hover {
  background: color-mix(in srgb, var(--sage) 40%, transparent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html:not(.theme-color-yellow) .faq-icon {
  background: var(--accent-soft);
  color: var(--primary-dark);
}

.faq-icon .minus {
  display: none;
}

.faq-item[open] .faq-icon .plus {
  display: none;
}

.faq-item[open] .faq-icon .minus {
  display: block;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease,
    opacity 0.3s ease;
  opacity: 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.65;
}

html:not(.theme-color-yellow) .faq-a {
  color: var(--muted);
}

.faq-item[open] .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
  opacity: 1;
}

.faq + #cta {
  padding-top: 80px !important;
}

h1.cover__title,
.form__item .fl-wrap-input.fl-is-active .fl-label,
.form__item .fl-wrap-textarea.fl-is-active .fl-label,
.contact__param-label {
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}

html:not(.theme-color-yellow) h1.cover__title,
html:not(.theme-color-yellow) .form__item .fl-wrap-input.fl-is-active .fl-label,
html:not(.theme-color-yellow)
  .form__item
  .fl-wrap-textarea.fl-is-active
  .fl-label,
html:not(.theme-color-yellow) .contact__param-label {
  color: var(--primary-dark);
}

h2.contact__title {
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

html:not(.theme-color-yellow) h2.contact__title {
  color: var(--primary-dark);
}

nav.breadcrumbs,
.footer__col:nth-child(2) {
  display: none;
}

.button,
.trafify-form-element .rendered-form .form__item--submit .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

html:not(.theme-color-yellow) .button,
html:not(.theme-color-yellow)
  .trafify-form-element
  .rendered-form
  .form__item--submit
  .button {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}

html:not(.theme-color-yellow) .button:not([disabled]):hover,
html:not(.theme-color-yellow)
  .trafify-form-element
  .rendered-form
  .form__item--submit
  .button:not([disabled]):hover {
  background: var(--primary-dark);
}

html:not(.theme-color-yellow) .form__control,
html:not(.theme-color-yellow)
  .trafify-form-element
  .rendered-form
  .form__control,
html:not(.theme-color-yellow)
  .formbuilder-checkbox
  [type="checkbox"]:checked
  ~ label,
html:not(.theme-color-yellow)
  .formbuilder-checkbox
  [type="checkbox"]:not(:checked)
  ~ label,
html:not(.theme-color-yellow)
  .formbuilder-checkbox
  [type="radio"]:checked
  ~ label,
html:not(.theme-color-yellow)
  .formbuilder-checkbox
  [type="radio"]:not(:checked)
  ~ label,
html:not(.theme-color-yellow)
  .formbuilder-gdprConsent
  div
  [type="checkbox"]:checked
  + strong,
html:not(.theme-color-yellow)
  .formbuilder-gdprConsent
  div
  [type="checkbox"]:not(:checked)
  + strong,
html:not(.theme-color-yellow)
  .formbuilder-gdprConsent
  div
  [type="radio"]:checked
  + strong,
html:not(.theme-color-yellow)
  .formbuilder-gdprConsent
  div
  [type="radio"]:not(:checked)
  + strong,
html:not(.theme-color-yellow) [type="checkbox"]:checked ~ span,
html:not(.theme-color-yellow) [type="checkbox"]:not(:checked) ~ span,
html:not(.theme-color-yellow) [type="radio"]:checked ~ span,
html:not(.theme-color-yellow) [type="radio"]:not(:checked) ~ span,
html:not(.theme-color-yellow) .contact__param-value {
  color: var(--muted);
}

.contact .contact__box {
  padding-bottom: 60px;
}

html:not(.theme-color-yellow) .formbuilder-gdprConsent,
html:not(.theme-color-yellow) .sys-msg {
  background-color: var(--primary-dark);
}

section.gdpr {
  place-items: center;
}

.creds-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  margin-top: 24px;
}

.creds-logos-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
