@font-face {
  font-family: "Facets Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./inter-400.ttf) format("truetype");
}
@font-face {
  font-family: "Facets Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./inter-500.ttf) format("truetype");
}
@font-face {
  font-family: "Facets Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./inter-600.ttf) format("truetype");
}
@font-face {
  font-family: "Facets Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./manrope-400.ttf) format("truetype");
}
@font-face {
  font-family: "Facets Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./manrope-600.ttf) format("truetype");
}

/* Approved Figma frames 9:15 / 9:16. Scoped to the two homepages. */
.facets-home {
  --facets-page: #161616;
  --facets-text: #edeef1;
  --facets-muted: #b3b4b6;
  --facets-line: #373737;
  --facets-accent: #8757e8;
  --facets-link: #b69af5;
  background: var(--facets-page);
  color: var(--facets-text);
  font-family: "Facets Inter", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.facets-home * {
  box-sizing: border-box;
}
.facets-home :is(h1, h2, h3, p) {
  margin: 0;
}
.facets-home :is(h1, h2, h3) {
  font-family: "Facets Manrope", Manrope, sans-serif;
  font-weight: 400;
  color: var(--facets-text);
}
.facets-home p {
  color: var(--facets-muted);
}
.facets-home a {
  text-decoration: none;
}
.facets-home a:hover {
  color: var(--facets-text);
}
.facets-home :is(a, summary):focus-visible {
  outline: 3px solid var(--facets-link);
  outline-offset: 5px;
}
.facets-container {
  width: calc(100% - 160px);
  max-width: 1280px;
  margin-inline: auto;
}
.facets-header {
  border-bottom: 1px solid var(--facets-line);
}
.facets-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 28px;
}
.facets-brand {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  flex-shrink: 0;
}
.facets-home img {
  display: block;
}
.facets-brand img {
  width: 164px;
  height: auto;
}
.facets-nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
  color: var(--facets-muted);
  font-size: 15px;
}
.facets-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.facets-home .web-button {
  padding: 16px 24px;
  min-height: 56px;
  font-size: 16px;
  line-height: 24px;
  border-radius: 8px;
  font-weight: 500;
}
.facets-home .web-button-primary {
  background: var(--facets-accent);
  color: white;
}
.facets-home .web-button-primary:hover {
  background: #7849d7;
}
.facets-home .web-button-secondary {
  border: 1px solid var(--facets-line);
  padding: 15px 23px;
  background: transparent;
  color: white;
}
.facets-home .web-button-secondary:hover {
  background: #252525;
}
.facets-hero {
  position: relative;
  min-height: 900px;
  max-width: 1440px;
  margin-inline: auto;
}
.facets-art {
  position: absolute;
  inset: 0 0 0 50%;
}
.facets-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facets-art::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: linear-gradient(to right, var(--facets-page), transparent);
}
.facets-copy {
  position: relative;
  padding-block: 96px;
  width: 700px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.facets-home .facets-eyebrow {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 2.2px;
  color: var(--facets-link);
  text-transform: uppercase;
}
.facets-home h1 {
  font-size: 84px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 700px;
}
.facets-company h1 {
  font-size: 80px;
}
.facets-home .facets-lead {
  font-size: 21px;
  line-height: 1.55;
  max-width: 610px;
}
.facets-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.facets-home .facets-caption {
  font-size: 13px;
  line-height: 1.6;
}
.facets-section {
  border-top: 1px solid var(--facets-line);
  margin-top: 48px;
  padding-block: 40px 64px;
  scroll-margin-top: 24px;
}
.facets-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.facets-audiences article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.facets-home .facets-number {
  font-family: "Facets Manrope", Manrope, sans-serif;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--facets-link);
}
.facets-home .facets-audiences h2 {
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}
.facets-audiences article > p:not([class]) {
  font-size: 18px;
  line-height: 1.65;
  max-width: 520px;
}
.facets-home .facets-text-link {
  color: var(--facets-link);
  font-weight: 500;
  line-height: 24px;
}
.facets-home .facets-text-link:hover {
  text-decoration: underline;
}
.facets-approach {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.facets-home .facets-approach h2 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.facets-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.facets-home .facets-principles h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.facets-principles p {
  max-width: 384px;
  font-size: 17px;
  line-height: 1.6;
}
.facets-product-bridge {
  border-top: 1px solid var(--facets-line);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 760fr 456fr;
  gap: 64px;
}
.facets-product-bridge > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.facets-home .facets-product-bridge h2 {
  font-size: 48px;
  line-height: 1.1;
}
.facets-home .facets-product-bridge .facets-lead {
  max-width: 700px;
}
.facets-home .facets-product-bridge .facets-caption {
  font-size: 14px;
}
.facets-footer {
  border-top: 1px solid var(--facets-line);
  padding-block: 28px 40px;
}
.facets-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.facets-footer-row > p {
  font-size: 17px;
  font-weight: 500;
  color: var(--facets-text);
}
.facets-footer-row img {
  width: 148px;
  height: auto;
}
.facets-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 14px;
  color: var(--facets-muted);
}
.facets-home .facets-legal {
  font-size: 12px;
  line-height: 1.65;
}
@media (max-width: 1200px) {
  .facets-container {
    width: calc(100% - 80px);
  }
  .facets-home h1 {
    font-size: clamp(52px, 5.84vw, 84px);
  }
  .facets-company h1 {
    font-size: clamp(50px, 5.56vw, 80px);
  }
  .facets-copy {
    width: 56%;
  }
  .facets-home .facets-lead {
    font-size: 19px;
  }
  .facets-hero {
    min-height: 780px;
  }
  .facets-nav,
  .facets-nav-links {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .facets-nav {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 24px;
  }
  .facets-nav > .web-button {
    margin-left: auto;
  }
  .facets-nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin: 0;
  }
  .facets-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .facets-copy {
    width: 100%;
    padding-block: 64px 40px;
  }
  .facets-art {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 520px;
  }
  .facets-art img {
    object-position: center 57%;
  }
  .facets-art::after {
    inset: 0 0 auto;
    width: 100%;
    height: 25%;
    background: linear-gradient(var(--facets-page), transparent);
  }
  .facets-desktop-break {
    display: none;
  }
  .facets-home h1 {
    font-size: 64px;
    max-width: 700px;
  }
  .facets-audiences {
    gap: 40px;
  }
  .facets-principles {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .facets-principles p {
    max-width: 580px;
  }
  .facets-product-bridge {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .facets-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .facets-container {
    width: calc(100% - 40px);
  }
  .facets-brand {
    font-size: 24px;
  }
  .facets-brand img {
    width: 144px;
  }
  .facets-nav > .web-button {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 48px;
  }
  .facets-nav-links {
    gap: 16px;
    font-size: 14px;
  }
  .facets-copy {
    padding-block: 48px 24px;
    gap: 24px;
  }
  .facets-home h1 {
    font-size: clamp(38px, 10.7vw, 60px);
  }
  .facets-home .facets-eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
  }
  .facets-home .facets-lead {
    font-size: 18px;
  }
  .facets-actions {
    flex-direction: column;
    width: 100%;
  }
  .facets-art {
    height: 420px;
  }
  .facets-section {
    margin-top: 32px;
    padding-block: 32px 48px;
  }
  .facets-audiences {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .facets-home .facets-audiences h2 {
    font-size: 32px;
  }
  .facets-home .facets-approach h2 {
    font-size: 34px;
  }
  .facets-home .facets-product-bridge h2 {
    font-size: 40px;
  }
  .facets-footer nav {
    gap: 20px;
  }
  .facets-footer nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Canonical Tesseras + RWADEX lockup; preserve the asset aspect ratio. */
.facets-brand .facets-rwadex-logo {
  width: 260px;
  height: auto;
}
@media (max-width: 600px) {
  .facets-brand .facets-rwadex-logo {
    width: 180px;
  }
}
@media (max-width: 360px) {
  .facets-product .facets-nav {
    gap: 12px;
  }
  .facets-brand .facets-rwadex-logo {
    width: 144px;
  }
}

/* Keep offering summaries spaced consistently with the approved homepages. */
.facets-home .facets-offerings h2 { margin: 20px 0; }
.facets-home .facets-offerings .facets-lead { margin-bottom: 28px; }

.facets-home .web-skip {
  position: absolute;
  top: 0;
  left: 24px;
  z-index: 10;
  padding: 12px;
  color: var(--facets-text);
  background: var(--facets-page);
  transform: translateY(-150%);
}

.facets-home .web-skip:focus {
  transform: translateY(0);
}
