/* Landing-specific additions on top of the original site styles */

/* accent words in the brand orange */
.text-accent {
  color: #F47323;
}

/* "Strong results" panel: the square visual is fitted into the panel and anchored to its
   bottom edge, so the phones run off the edge at every width instead of ending mid-panel */
@media only screen and (min-width: 768px) {
  .feature-list-container #desktop-image-container {
    padding-bottom: 0;
  }
  .feature-list-container #desktop-image-container > .feature-image {
    height: 100%;
  }
  .feature-list-container #desktop-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }
}

/* secondary headings: tagline under "Know how it works", heading above the photo slider */
.cta-text__tagline,
.frame .slider-heading {
  font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.5rem); /* 28px on phones → 40px on desktop */
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #080707;
  text-wrap: balance; /* no single word left alone on the last line */
}
.cta-text__tagline {
  margin: 24px 0 0;
}
.frame .slider-heading {
  margin: 0 0 12px;
  text-align: center;
}
/* lead text under the slider heading, same scale as the hero lead (16px → 20px) */
.frame .slider-subheading {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #080707;
  text-align: center;
  text-wrap: pretty;
}
@media only screen and (min-width: 768px) {
  .frame .slider-heading {
    margin-bottom: 16px;
  }
  .frame .slider-subheading {
    margin-bottom: 40px;
  }
}

/* "Know how it works": one centered column on every screen size, like the mobile layout */
@media only screen and (min-width: 768px) {
  .cta-stacked .cta-text {
    display: block;
    max-width: 760px;
    margin: 0 auto;
  }
  .cta-stacked .cta-text > div {
    flex-basis: auto;
  }
  .cta-stacked .cta-text__headline {
    margin-bottom: 32px;
  }
  .cta-stacked .cta-text__headline,
  .cta-stacked .cta-text__content {
    text-align: center;
  }
}

/* "How it works" steps under the call-back text: three cards, numbers outlined in the brand orange */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.steps__item {
  margin: 0;
  padding: 28px 24px;
  border-radius: 8px;
  background: #ECEAEB;
  text-align: left;
}
.steps__number {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(3rem, 1.6vw + 2.4rem, 4rem); /* 48px → 64px */
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #F47323;
}
@supports (-webkit-text-stroke: 1px #000) {
  .steps__number {
    color: transparent;
    -webkit-text-stroke: 1.5px #F47323;
  }
}
.steps .steps__title,
.bento .bento__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem); /* 20px → 24px */
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #080707;
}
.steps__text,
.bento__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2C2A2B;
  text-wrap: pretty;
}
@media only screen and (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  .steps__item {
    padding: 40px 32px;
  }
}

/* "What will you get after the call?": bento grid of cards with simple infographics */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bento__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
  margin: 0;
  padding: 28px 24px;
  border-radius: 8px;
  background: #ECEAEB;
  overflow: hidden;
}
.bento__graphic {
  display: block;
  align-self: flex-end;
  width: auto;
  height: 110px;
  max-width: 100%;
}
.bento__body {
  max-width: 520px;
}
@media only screen and (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .bento__card {
    min-height: 340px;
    padding: 40px 32px;
  }
  .bento__card--wide {
    grid-column: span 2;
  }
  .bento__graphic {
    height: 150px;
  }
}

/* footer: FlatAI wordmark where the original site listed its phone numbers */
.footer-brand svg {
  display: block;
  width: 105px;
  height: auto;
}
.footer-brand__tagline {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #969394;
}
#pageFooter .footer-brand {
  display: block;
}

/* footer navigation of the landing (replaces the original site's sitemap) */
.mainfooternav ul.footer-col li.footer-col-title {
  margin-bottom: 10px;
  color: #F47323;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mainfooternav ul.footer-col li a {
  cursor: pointer;
}
.mainfooternav ul.footer-col:last-child,
.mainfooternav ul.footer-col:last-child li {
  width: auto;
  display: block !important;
}
@media print, screen and (min-width: 64em) {
  .mainfooternav {
    justify-content: flex-start;
    gap: 96px;
  }
}
@media print, screen and (max-width: 63.99em) {
  .mainfooternav {
    gap: 32px;
  }
  .mainfooternav ul.footer-col {
    min-width: 0;
  }
}
#pageFooter #footerBottom {
  display: block;
}
#pageFooter #footerBottom .copyright {
  display: block;
  margin-top: 8px;
  color: #969394;
}

/* content still to be supplied: visible so nothing ships filled with sample text */
.ph {
  display: inline;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(244, 115, 35, 0.14);
  box-shadow: inset 0 0 0 1px rgba(244, 115, 35, 0.45);
  color: #B4551A;
  font-style: normal;
  white-space: nowrap;
}
.frame-layout-3 .ph,
#footerTop .ph {
  background: rgba(244, 115, 35, 0.22);
  color: #F9BC86;
}

/* sample content: faint underline so it is still findable, the demo notice carries the warning */
.ph {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  border-bottom: 1px dotted rgba(244, 115, 35, 0.55);
  white-space: normal;
}
.frame-layout-3 .ph,
#footerTop .ph { color: inherit; background: none; }

/* demo notice: one line pinned above the fixed header, so it no longer covers the
   "Book a free call" strip at the top of the header */
:root {
  --demo-h: 28px;
}
#demoNotice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11; /* just above the header (10) */
  height: var(--demo-h);
  padding: 0 16px;
  overflow: hidden;
  background: #2C2A2B;
  color: #F9BC86;
  font-size: 13px;
  line-height: var(--demo-h);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#demoNotice .dn-short {
  display: none;
}
@media only screen and (max-width: 767px) {
  #demoNotice .dn-full {
    display: none;
  }
  #demoNotice .dn-short {
    display: inline;
  }
}
#pageWrapper {
  padding-top: var(--demo-h);
}
#pageWrapper #pageHeader {
  top: var(--demo-h);
}

/* "Show content slots": highlights everything that is stand-in content */
#slotToggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  padding: 10px 18px;
  border: 0;
  border-radius: 100px;
  background: #2C2A2B;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(8, 7, 7, 0.28);
}
#slotToggle[aria-pressed="true"] { background: #F47323; color: #080707; }

body.show-slots { counter-reset: slot; }
body.show-slots .ph {
  position: relative;
  outline: 2px solid #F47323;
  outline-offset: 1px;
  background: rgba(244, 115, 35, 0.16);
  border-bottom: 0;
}
body.show-slots .ph::after {
  counter-increment: slot;
  content: counter(slot);
  position: absolute;
  top: -9px;
  left: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #F47323;
  color: #080707;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  white-space: nowrap;
}
body.show-slots .ph-img {
  outline: 3px dashed #F47323;
  outline-offset: -3px;
}

/* sub-pages: title block, body copy and closing call to action.
   There is no hero on a sub-page, so the title starts below the fixed header
   (113px high below 1200px, 125px from 1200px) and the body copy shares its left edge. */
#pageMain .frame.page-head {
  padding-top: calc(113px + 48px);
  padding-bottom: 32px;
}
@media screen and (min-width: 75em) {
  #pageMain .frame.page-head {
    padding-top: calc(125px + 72px);
    padding-bottom: 40px;
  }
}
.page-head h1 { margin: 0 0 14px; }
.page-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.25rem);
  line-height: 1.35;
  color: #2C2A2B;
}
#pageMain .frame.page-body {
  padding-top: 0;
  padding-bottom: 8px;
}
.page-body .grid-container > * { max-width: 760px; }
.page-body .grid-container > :first-child { margin-top: 0; }
.page-body .page-contact__note { margin-top: 24px; }
.page-body h2 {
  margin: 36px 0 10px;
  font-size: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
}
.page-body p { margin: 0 0 14px; line-height: 1.55; }
.page-body ul { margin: 0 0 14px 1.1rem; }
.page-body li { margin-bottom: 6px; line-height: 1.55; }

.page-faq__item {
  padding: 18px 0;
  border-bottom: 1px solid #E3E0E1;
}
.page-faq__item h2 { margin: 0 0 8px; font-size: 1.125rem; }
.page-faq__item p { margin: 0; color: #2C2A2B; }

.page-contact__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E3E0E1;
}
.page-contact__k { color: #969394; }

.page-cta {
  margin-top: 56px;
  padding: 48px 0 64px;
  background: #F9F6F8;
  text-align: center;
}
.page-cta h2 { margin: 0 0 10px; }
.page-cta p { margin: 0 0 22px; color: #2C2A2B; }

/* sub-page blocks: wider cards and steps next to a readable text column */
.page-body .grid-container > :is(.page-tiles, .steps) { max-width: 1120px; }
.page-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 8px;
  padding: 0;
  list-style: none;
}
.page-body .page-tiles__item {
  margin: 0;
  padding: 24px;
  border-radius: 8px;
  background: #ECEAEB;
}
.page-tiles__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
}
.page-body .page-tiles__title {
  margin: 0 0 8px;
  font-size: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  color: #080707;
}
.page-body .page-tiles__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #2C2A2B;
}
@media only screen and (min-width: 768px) {
  .page-tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .page-body .page-tiles__item { padding: 32px 28px; }
}
.page-body .steps { margin-top: 20px; margin-bottom: 8px; }

/* risk and draft notes */
.page-body .page-note {
  margin: 36px 0 0;
  padding: 18px 22px;
  border-left: 3px solid #F47323;
  border-radius: 0 8px 8px 0;
  background: #F9F6F8;
  font-size: 15px;
  line-height: 1.55;
  color: #2C2A2B;
}
.page-body .page-note:first-child { margin: 0 0 28px; }

/* downloadable documents (forms, legal documents) */
.page-docs { margin: 24px 0 0; padding: 0; list-style: none; }
.page-body .page-docs__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid #E3E0E1;
}
.page-docs__badge {
  grid-row: span 2;
  padding: 4px 8px;
  border: 1.5px solid #F47323;
  border-radius: 6px;
  color: #F47323;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.page-docs__body { display: flex; flex-direction: column; gap: 2px; }
.page-docs__title { font-weight: 500; color: #080707; }
.page-docs__text { color: #2C2A2B; line-height: 1.5; }
.page-docs__file { grid-column: 2; font-size: 14px; color: #969394; }
@media only screen and (min-width: 768px) {
  .page-body .page-docs__item { grid-template-columns: auto 1fr auto; align-items: center; }
  .page-docs__badge { grid-row: auto; }
  .page-docs__file { grid-column: auto; }
}

/* "See also" links between related pages */
.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 44px 0 0;
}
.page-links__label {
  margin-right: 4px;
  color: #969394;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#pageWrapper #pageMain .page-links a {
  text-decoration: none !important;
  padding: 8px 16px;
  border: 1px solid #C6C3C4;
  border-radius: 100px;
  color: #080707;
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
#pageWrapper #pageMain .page-links a:hover { border-color: #F47323; color: #F47323; }

/* the key/value rows also carry order types and press releases: a wider key column there */
@media only screen and (min-width: 768px) {
  .page-contact__row { grid-template-columns: 200px 1fr; }
}

/* card and document lists: no site bullet (a background image on "ul li") and no list indent */
.page-body ul.page-tiles,
.page-body ul.page-docs { margin-left: 0; }
.page-body .page-docs__item { background-image: none; }
.page-body .page-contact + p { margin-top: 24px; }

/* ---------------------------------------------------------------- articles */
.article-kicker {
  margin: 0 0 20px;
  color: #F47323;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-meta { margin: 20px 0 0; color: #969394; font-size: 15px; letter-spacing: 0.02em; }
/* head and body share one centred reading column; the cover spans the grid */
.article-head .grid-container > *,
.article-body .grid-container > * { max-width: 760px; margin-left: auto; margin-right: auto; }
#pageMain .frame.article-cover-frame { padding-top: 8px; padding-bottom: 0; }
.article-cover { margin: 0; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: 8px; }
#pageMain .frame.article-body { padding-top: 56px; }
.page-body.article-body p,
.page-body.article-body li { font-size: 18px; line-height: 1.65; }
.page-body.article-body h2 { margin: 52px auto 14px; font-size: clamp(1.5rem, 0.8vw + 1.2rem, 2rem); line-height: 1.2; }

.article-quote { margin: 44px auto; padding: 4px 0 4px 28px; border-left: 3px solid #F47323; }
.page-body.article-body .article-quote p {
  margin: 0;
  font-size: clamp(1.375rem, 1vw + 1.1rem, 1.875rem);
  line-height: 1.3;
  color: #080707;
}

.article-takeaways { margin: 56px auto 0; padding: 32px 36px 22px; border-radius: 8px; background: #2C2A2B; }
.page-body.article-body .article-takeaways h2 {
  margin: 0 0 18px;
  color: #F47323;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-body.article-body .article-takeaways ul { margin: 0; }
#pageWrapper #pageMain .article-takeaways li { color: #FFFFFF; font-size: 17px; }

/* the one-page plan: a dark card */
.article-plan { margin: 28px auto; padding: 28px 32px; border-radius: 8px; background: #2C2A2B; }
.page-body.article-body .article-plan__title {
  margin: 0 0 16px;
  color: #F47323;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-plan dl { display: grid; grid-template-columns: 160px 1fr; margin: 0; }
.article-plan dt, .article-plan dd { margin: 0; padding: 12px 0; border-top: 1px solid #4A4748; font-size: 16px; line-height: 1.45; }
.article-plan dt { color: #C6C3C4; }
.article-plan dd { color: #FFFFFF; }
.page-body.article-body .article-plan__note { margin: 16px 0 0; color: #969394; font-size: 14px; }
@media only screen and (max-width: 600px) {
  .article-plan { padding: 24px 22px; }
  .article-plan dl { grid-template-columns: 1fr; }
  .article-plan dd { padding-top: 0; border-top: 0; }
}

/* worked-example table */
.article-table-wrap { margin: 24px auto 28px; overflow-x: auto; }
#pageMain table.article-table { width: 100%; margin: 0; border-collapse: collapse; background: none; }
#pageMain .article-table th,
#pageMain .article-table td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #E3E0E1;
  background: none;
  color: #080707;
  font-size: 16px;
  font-weight: 400;
  text-align: right;
}
#pageMain .article-table th:first-child,
#pageMain .article-table td:first-child { padding-left: 0; text-align: left; }
#pageMain .article-table thead th { color: #969394; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
#pageMain .article-table tfoot th,
#pageMain .article-table tfoot td { border-top: 2px solid #080707; border-bottom: 0; font-weight: 700; }

/* charts drawn in HTML, so they stay sharp and readable on a phone */
.article-chart { margin: 28px auto; padding: 28px 28px 20px; border-radius: 8px; background: #F9F6F8; }
.article-chart figcaption { margin-top: 16px; color: #6E6C6D; font-size: 14px; line-height: 1.5; }
.mbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 250px; }
.mbars__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.mbars__val { font-size: 15px; font-weight: 700; color: #080707; }
.mbars__bar {
  display: block;
  width: 100%;
  max-width: 64px;
  height: calc(var(--v) * 160px);
  border-radius: 6px 6px 0 0;
  background: #F47323;
  opacity: calc(0.4 + var(--v) * 0.6);
}
.mbars__lbl { color: #6E6C6D; font-size: 13px; line-height: 1.35; text-align: center; }
.mbars__lbl b { display: block; color: #080707; font-weight: 500; }
.hbars { display: grid; gap: 14px; }
.hbars__row { display: grid; grid-template-columns: 112px 1fr 64px; gap: 12px; align-items: center; }
.hbars__lbl { color: #080707; font-size: 15px; }
.hbars__track { height: 26px; overflow: hidden; border-radius: 6px; background: #E6E3E4; }
.hbars__bar { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: 6px; background: #F47323; }
.hbars__val { color: #080707; font-size: 15px; font-weight: 700; text-align: right; }
@media only screen and (max-width: 600px) {
  .article-chart { padding: 22px 16px 16px; }
  .mbars { gap: 6px; }
  .hbars__row { grid-template-columns: 92px 1fr 58px; gap: 8px; }
}

/* the formula card */
.article-formula { margin: 24px auto 28px; padding: 28px 32px; border: 1px solid #E3E0E1; border-radius: 8px; background: #F9F6F8; }
.page-body.article-body .article-formula__eq { margin: 0 0 18px; font-size: clamp(1.125rem, 0.6vw + 1rem, 1.375rem); line-height: 1.4; }
.article-formula__eq b { color: #F47323; }
.article-formula dl { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.article-formula dt, .article-formula dd { margin: 0; padding: 10px 0; border-top: 1px solid #E3E0E1; font-size: 16px; }
.article-formula dd { font-weight: 500; text-align: right; }
.article-formula dt:last-of-type, .article-formula dd:last-of-type { color: #F47323; font-weight: 700; }
@media only screen and (max-width: 600px) { .article-formula { padding: 22px 20px; } }

/* "Keep reading" */
#pageMain .frame.article-more { padding-top: 80px; padding-bottom: 0; }
.article-more__title { max-width: 920px; margin: 0 auto 24px; font-size: clamp(1.5rem, 0.8vw + 1.2rem, 2rem); font-weight: 400; }
.article-more__list { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 920px; margin: 0 auto; padding: 0; list-style: none; }
@media only screen and (min-width: 768px) { .article-more__list { grid-template-columns: 1fr 1fr; } }
#pageWrapper #pageMain .article-more__item { margin: 0; padding: 0; background: none; }
#pageWrapper #pageMain .article-more__item a { display: block; color: #080707; text-decoration: none !important; }
.article-more__item img { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: 8px; }
.article-more__kicker { display: block; color: #F47323; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
#pageMain .article-more__name { margin: 6px 0 0; font-size: 22px; font-weight: 500; line-height: 1.25; text-transform: none; transition: color .2s; }
#pageWrapper #pageMain .article-more__item a:hover .article-more__name { color: #F47323; }
.article-more__read { display: block; margin-top: 6px; color: #969394; font-size: 14px; }

/* ---------------------------------------------------------------- live price chart (closing banner) */
.live-chart {
  position: relative;
  height: clamp(460px, 40vw, 580px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 85% 45%, rgba(244, 115, 35, 0.14), rgba(244, 115, 35, 0) 70%),
    linear-gradient(135deg, #272526 0%, #121011 100%);
}
.live-chart__static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.live-chart.is-live .live-chart__static { opacity: 0; }
.live-chart__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.live-chart__overlay { position: absolute; top: 28px; left: 32px; right: 32px; z-index: 2; display: none; }
.live-chart.is-js .live-chart__overlay { display: block; }
.live-chart__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.live-chart__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 100px;
  background: rgba(244, 115, 35, 0.14);
  color: #F47323;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-chart__pulse { width: 8px; height: 8px; border-radius: 50%; background: #F47323; animation: lc-pulse 1.6s infinite; }
.live-chart.is-demo .live-chart__pulse { animation: none; background: #969394; }
.live-chart.is-demo .live-chart__live { background: rgba(255, 255, 255, 0.08); color: #C6C3C4; }
@keyframes lc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 115, 35, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(244, 115, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 115, 35, 0); }
}
.live-chart__pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 100px; background: rgba(255, 255, 255, 0.07); }
.live-chart__pills button {
  margin: 0;
  padding: 6px 14px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.live-chart__pills button:hover { color: #FFFFFF; }
.live-chart__pills button[aria-pressed="true"] { background: #F47323; color: #080707; }
.live-chart__pills button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.live-chart .live-chart__name { margin: 22px 0 4px; color: rgba(255, 255, 255, 0.55); font-size: 14px; letter-spacing: 0.02em; }
.live-chart .live-chart__price {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(2.125rem, 2.2vw + 1.3rem, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  transition: color .5s;
}
.live-chart .live-chart__price.up { color: #6BDB9A; transition: none; }
.live-chart .live-chart__price.down { color: #FF8A7A; transition: none; }
.live-chart .live-chart__change { margin: 8px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.live-chart .live-chart__change.pos { color: #6BDB9A; }
.live-chart .live-chart__change.neg { color: #FF8A7A; }
.live-chart .live-chart__source { margin: 6px 0 0; color: rgba(255, 255, 255, 0.34); font-size: 12px; letter-spacing: 0.03em; }
@media only screen and (max-width: 767px) {
  .live-chart__overlay { top: 20px; left: 20px; right: 20px; }
  .live-chart .live-chart__name { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-chart__pulse { animation: none; }
}
/* the site's own table styles colour rows and the footer: keep the worked example plain */
#pageWrapper #pageMain .article-table thead tr,
#pageWrapper #pageMain .article-table tbody tr,
#pageWrapper #pageMain .article-table tfoot,
#pageWrapper #pageMain .article-table tfoot tr { background: none !important; }
#pageWrapper #pageMain .article-table tfoot th,
#pageWrapper #pageMain .article-table tfoot td { background: none !important; color: #080707 !important; }

/* mobile menu: the original had a search row above the menu items; without it the login button
   would sit under the opened submenu, so it keeps the same distance */
@media screen and (max-width: 1199px) {
  #mainNav > ul > li.loginInMobileNav { margin-top: 72px; }
}
/* the login entry in the menu stays inactive, like the header button */
#mainNav .loginInMobileNav a { cursor: default; }

/* sub-pages: wide photo under the title */
#pageMain .frame.page-hero { padding-top: 0; padding-bottom: 44px; }
.page-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: var(--fx, 50%) 50%;
  border-radius: 8px;
}
@media only screen and (max-width: 767px) {
  .page-hero__img { aspect-ratio: 4 / 3; }
  #pageMain .frame.page-hero { padding-bottom: 32px; }
}
/* the knowledge centre lists the articles as cards */
.page-body .grid-container > .page-articles { max-width: 1120px; margin: 8px 0 24px; }
@media only screen and (min-width: 768px) { .page-articles { grid-template-columns: repeat(3, 1fr); } }

/* footer: contact lines under the logo, as on the original */
.footer-contacts { margin-top: 28px; }
#footerTop .footer-contacts p { margin: 0 0 14px; line-height: 1.3; }
.footer-contacts__label {
  display: block;
  margin-bottom: 4px;
  color: #969394;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-contacts__value { color: #FFFFFF; font-size: 18px; font-weight: 500; }
/* "Leading in many ways": photo tiles fill their frame */
.paternoster--scroller--image--image:has(img[src*="/photos/tile-"]) { overflow: hidden; }
.paternoster--scroller--image--image img[src*="/photos/tile-"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

#footerTop .footer-contacts__value { text-transform: none; }
#footerTop .footer-contacts__value .ph { display: inline; }
#pageFooter #footerTop .footer-contacts .footer-contacts__value,
#pageFooter #footerTop .footer-contacts .footer-contacts__value .ph { text-transform: none; }
